aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-06-14 15:26:30 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-06-17 09:27:57 -0400
commit9ed7e1b85cd55dc46cb9410a23086bdaa2ff3eb9 (patch)
tree40690ef063892ff970f3961c33aef500d13c58db /tools/perf/util/symbol.h
parentcfc21cc641dae17a4ebda29ed093134358449577 (diff)
perf probe: Add kernel source path option
The probe plugin requires access to the source code for some operations. The source code must be in the exact same location as specified by the DWARF tags, but sometimes the location is an absolute path that cannot be replicated by a normal user. This change adds the -s|--source option to allow the user to specify the root of the kernel source tree. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Masami Hiramatsu <mhiramat@redhat.com> LKML-Reference: <1276543590-10486-1-git-send-email-chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.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 10b7ff859ce0..80e569bbdecc 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -71,6 +71,7 @@ struct symbol_conf {
71 full_paths, 71 full_paths,
72 show_cpu_utilization; 72 show_cpu_utilization;
73 const char *vmlinux_name, 73 const char *vmlinux_name,
74 *source_prefix,
74 *field_sep; 75 *field_sep;
75 const char *default_guest_vmlinux_name, 76 const char *default_guest_vmlinux_name,
76 *default_guest_kallsyms, 77 *default_guest_kallsyms,