perf diff: Add kallsyms option
PATCH 1/1 perf diff: Add kallsyms option
Required for off-box analysis to convert kernel addresses.
Signed-off-by David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
--- tools/perf/Documentation/perf-diff.txt | 3 +++ tools/perf/builtin-diff.c | 2 ++ 2 files changed, 5 insertions(+)
tools/perf/Documentation/perf-diff.txt +3 -0
@@ -31,6 +31,9 @@ OPTIONS --dump-raw-trace:: Dump raw trace in ASCII. +--kallsyms=<file>:: + kallsyms pathname + -m:: --modules:: Load module symbols. WARNING: use only with -k and LIVE kernel
tools/perf/builtin-diff.c +2 -0
@@ -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...]",
Signature · 1 line
2.2.1
Em Tue, Mar 24, 2015 at 09:51:57AM -0600, David Ahern escreveu:
Quoted 4 lines
Required for off-box analysis to convert kernel addresses.
Signed-off-by David Ahern <[email protected]>Cc Jiri Olsa <[email protected]>
Thanks, applied.
- Arnaldo
tip-bot for David Ahern
merge botperf diff: Add kallsyms option
Commit-ID: 6b1f342354d45c651cabd2ae0f61f55846f33e10 Gitweb: http://git.kernel.org/tip/6b1f342354d45c651cabd2ae0f61f55846f33e10 Author: David Ahern <[email protected]> AuthorDate: Tue, 24 Mar 2015 09:51:57 -0600 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 24 Mar 2015 13:01:54 -0300
perf diff: Add kallsyms option
Required for off-box analysis to convert kernel addresses.
Signed-off-by David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/Documentation/perf-diff.txt | 3 +++ tools/perf/builtin-diff.c | 2 ++ 2 files changed, 5 insertions(+)
tools/perf/Documentation/perf-diff.txt +3 -0
@@ -31,6 +31,9 @@ OPTIONS --dump-raw-trace:: Dump raw trace in ASCII. +--kallsyms=<file>:: + kallsyms pathname + -m:: --modules:: Load module symbols. WARNING: use only with -k and LIVE kernel
tools/perf/builtin-diff.c +2 -0
@@ -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...]",