aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2015-03-24 09:51:57 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-03-24 13:01:54 -0300
commit6b1f342354d45c651cabd2ae0f61f55846f33e10 (patch)
tree33dc778ea2c763b2cb83105326877cd8b8add30a /tools/perf/builtin-diff.c
parenttools lib traceevent: Add support for __print_array() (diff)
downloadwireguard-linux-6b1f342354d45c651cabd2ae0f61f55846f33e10.tar.xz
wireguard-linux-6b1f342354d45c651cabd2ae0f61f55846f33e10.zip
perf diff: Add kallsyms option
Required for off-box analysis to convert kernel addresses. Signed-off-by: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1427212317-7018-1-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r--tools/perf/builtin-diff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index 473887d1d61a..df6307b4050a 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -791,6 +791,8 @@ static const struct option options[] = {
OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace,
"dump raw trace in ASCII"),
OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
+ OPT_STRING(0, "kallsyms", &symbol_conf.kallsyms_name,
+ "file", "kallsyms pathname"),
OPT_BOOLEAN('m', "modules", &symbol_conf.use_modules,
"load module symbols - WARNING: use only with -k and LIVE kernel"),
OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",