aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorAkihiro Nagai <akihiro.nagai.hw@hitachi.com>2012-01-29 23:42:57 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-01-30 14:57:57 -0500
commit547a92e0aedb88129e7fbd804697a11949de2e5a (patch)
treedbe71c0161ef32186de12032f4f0238383517dc4 /tools/perf/util/symbol.h
parentf9d36996564f91c517b75b02942015f7e09a6574 (diff)
perf script: Unify the expressions indicating "unknown"
The perf script command uses various expressions to indicate "unknown". It is unfriendly for user scripts to parse it. So, this patch unifies the expressions to "[unknown]". Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: yrl.pp-manager.tt@hitachi.com Link: http://lkml.kernel.org/r/20120130044257.2384.62905.stgit@linux3 Signed-off-by: Akihiro Nagai <akihiro.nagai.hw@hitachi.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r--tools/perf/util/symbol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 123c2e14353e..d349c7a00b04 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -241,6 +241,7 @@ void machines__destroy_guest_kernel_maps(struct rb_root *machines);
241 241
242int symbol__init(void); 242int symbol__init(void);
243void symbol__exit(void); 243void symbol__exit(void);
244size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp);
244bool symbol_type__is_a(char symbol_type, enum map_type map_type); 245bool symbol_type__is_a(char symbol_type, enum map_type map_type);
245 246
246size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp); 247size_t machine__fprintf_vmlinux_path(struct machine *machine, FILE *fp);