summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-12-11 18:23:28 +0100
committerIngo Molnar <mingo@elte.hu>2009-12-12 07:42:10 +0100
commit22ccec57f8732de22fd87bce43e8edcb71453c72 (patch)
tree866984740f95fbd593b025b76e2b9a5f08abe4fb /tools
parentperf symbols: Add support for 'variable' symtabs (diff)
downloadlinux-22ccec57f8732de22fd87bce43e8edcb71453c72.tar.xz
linux-22ccec57f8732de22fd87bce43e8edcb71453c72.zip
perf symbols: Add missing "Variables" entry to map_type__name
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1260552208-6824-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index a1285129c831..b68a00ea4121 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -54,6 +54,7 @@ int thread__comm_len(struct thread *self)
static const char *map_type__name[MAP__NR_TYPES] = {
[MAP__FUNCTION] = "Functions",
+ [MAP__VARIABLE] = "Variables",
};
static size_t __map_groups__fprintf_maps(struct map_groups *self,