aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-07-22 15:36:55 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-07-24 01:01:26 +0000
commit33a2471cc9b7b1fb27ff2031dbaff701644b1a4d (patch)
treecb905a193c70d7104182497ebea6450f02bec9c5 /tools/perf/builtin-script.c
parentperf symbols: Introduce map__is_(kernel,kmodule)() (diff)
downloadkernel-33a2471cc9b7b1fb27ff2031dbaff701644b1a4d.tar.gz
kernel-33a2471cc9b7b1fb27ff2031dbaff701644b1a4d.zip
tools lib traceevent: Allow setting an alternative symbol resolver
The perf tools have a symbol resolver that includes solving kernel symbols using either kallsyms or ELF symtabs, and it also is using libtraceevent to format the trace events fields, including via subsystem specific plugins, like the "timer" one. To solve fields like "timer:hrtimer_start"'s "function", libtraceevent needs a way to map from its value to a function name and addr. This patch provides a way for tools that already have symbol resolving facilities to ask libtraceevent to use it when needing to resolve kernel symbols. Reviewed-by: Steven Rostedt <[email protected]> Acked-by: David Ahern <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions