* [PATCH] perf diff: Add kallsyms option
@ 2015-03-24 15:51 David Ahern
2015-03-24 16:04 ` Arnaldo Carvalho de Melo
2015-03-24 16:36 ` [tip:perf/core] " tip-bot for David Ahern
0 siblings, 2 replies; 5+ messages in thread
From: David Ahern @ 2015-03-24 15:51 UTC (permalink / raw)
To: acme; +Cc: linux-kernel, David Ahern, Jiri Olsa
Required for off-box analysis to convert kernel addresses.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
---
tools/perf/Documentation/perf-diff.txt | 3 +++
tools/perf/builtin-diff.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt
index 518266192d67..d1deb573877f 100644
--- a/tools/perf/Documentation/perf-diff.txt
+++ b/tools/perf/Documentation/perf-diff.txt
@@ -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
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...]",
--
2.2.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] perf diff: Add kallsyms option
2015-03-24 15:51 [PATCH] perf diff: Add kallsyms option David Ahern
@ 2015-03-24 16:04 ` Arnaldo Carvalho de Melo
2015-03-24 16:36 ` [tip:perf/core] " tip-bot for David Ahern
1 sibling, 0 replies; 5+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-03-24 16:04 UTC (permalink / raw)
To: David Ahern; +Cc: linux-kernel, Jiri Olsa
Em Tue, Mar 24, 2015 at 09:51:57AM -0600, David Ahern escreveu:
> Required for off-box analysis to convert kernel addresses.
>
> Signed-off-by: David Ahern <dsahern@gmail.com>
> Cc: Jiri Olsa <jolsa@redhat.com>
Thanks, applied.
- Arnaldo
^ permalink raw reply [flat|nested] 5+ messages in thread
* [tip:perf/core] perf diff: Add kallsyms option
2015-03-24 15:51 [PATCH] perf diff: Add kallsyms option David Ahern
2015-03-24 16:04 ` Arnaldo Carvalho de Melo
@ 2015-03-24 16:36 ` tip-bot for David Ahern
1 sibling, 0 replies; 5+ messages in thread
From: tip-bot for David Ahern @ 2015-03-24 16:36 UTC (permalink / raw)
To: linux-tip-commits; +Cc: acme, dsahern, linux-kernel, hpa, tglx, mingo, jolsa
Commit-ID: 6b1f342354d45c651cabd2ae0f61f55846f33e10
Gitweb: http://git.kernel.org/tip/6b1f342354d45c651cabd2ae0f61f55846f33e10
Author: David Ahern <dsahern@gmail.com>
AuthorDate: Tue, 24 Mar 2015 09:51:57 -0600
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
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 <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>
---
tools/perf/Documentation/perf-diff.txt | 3 +++
tools/perf/builtin-diff.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt
index 5182661..d1deb57 100644
--- a/tools/perf/Documentation/perf-diff.txt
+++ b/tools/perf/Documentation/perf-diff.txt
@@ -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
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index 473887d..df6307b 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...]",
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] perf diff: Add kallsyms option
@ 2013-12-09 19:39 David Ahern
2013-12-10 9:15 ` Jiri Olsa
0 siblings, 1 reply; 5+ messages in thread
From: David Ahern @ 2013-12-09 19:39 UTC (permalink / raw)
To: acme, linux-kernel; +Cc: David Ahern, Jiri Olsa
Required for off-box analysis to convert kernel addresses.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
---
tools/perf/Documentation/perf-diff.txt | 3 +++
tools/perf/builtin-diff.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt
index fdfceee0ffd0..06650332d555 100644
--- a/tools/perf/Documentation/perf-diff.txt
+++ b/tools/perf/Documentation/perf-diff.txt
@@ -26,6 +26,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
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index 3b67ea2444bd..1334381d2569 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -715,6 +715,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...]",
--
1.8.3.4 (Apple Git-47)
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-24 16:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 15:51 [PATCH] perf diff: Add kallsyms option David Ahern
2015-03-24 16:04 ` Arnaldo Carvalho de Melo
2015-03-24 16:36 ` [tip:perf/core] " tip-bot for David Ahern
-- strict thread matches above, loose matches on Subject: below --
2013-12-09 19:39 [PATCH] " David Ahern
2013-12-10 9:15 ` Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox