diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-15 17:04:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-16 02:53:49 -0500 |
commit | 655000e7c75a559681ee7f15f6fa870c80ae3194 (patch) | |
tree | 69a56e19c818b0929dbea8d119fa133853c5ee80 /tools/perf/util/symbol.h | |
parent | 75be6cf48738aec68aac49b428423569492cfba3 (diff) |
perf symbols: Adopt the strlists for dso, comm
Will be used in perf diff too.
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: <1260914682-29652-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 766294735f93..d61f35074997 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -49,12 +49,21 @@ struct symbol { | |||
49 | char name[0]; | 49 | char name[0]; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | struct strlist; | ||
53 | |||
52 | struct symbol_conf { | 54 | struct symbol_conf { |
53 | unsigned short priv_size; | 55 | unsigned short priv_size; |
54 | bool try_vmlinux_path, | 56 | bool try_vmlinux_path, |
55 | use_modules, | 57 | use_modules, |
56 | sort_by_name; | 58 | sort_by_name; |
57 | const char *vmlinux_name; | 59 | const char *vmlinux_name; |
60 | char *dso_list_str, | ||
61 | *comm_list_str, | ||
62 | *sym_list_str, | ||
63 | *col_width_list_str; | ||
64 | struct strlist *dso_list, | ||
65 | *comm_list, | ||
66 | *sym_list; | ||
58 | }; | 67 | }; |
59 | 68 | ||
60 | extern struct symbol_conf symbol_conf; | 69 | extern struct symbol_conf symbol_conf; |