* [PATCH] perf report/top: Add a tip about source line matching
@ 2017-11-18 7:01 Hyeim Yang
2017-11-20 7:45 ` Jiri Olsa
0 siblings, 1 reply; 2+ messages in thread
From: Hyeim Yang @ 2017-11-18 7:01 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Taeung Song, Hyeim Yang
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Taeung Song <taeung@kosslab.kr>
---
tools/perf/Documentation/tips.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
index db0ca30..b60616a 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -32,3 +32,4 @@ Order by the overhead of source file name and line number: perf report -s srclin
System-wide collection from all CPUs: perf record -a
Show current config key-value pairs: perf config --list
Show user configuration overrides: perf config --user --list
+Print matching source lines (may be slow): perf annotate --print-line <symbol>
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] perf report/top: Add a tip about source line matching
2017-11-18 7:01 [PATCH] perf report/top: Add a tip about source line matching Hyeim Yang
@ 2017-11-20 7:45 ` Jiri Olsa
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Olsa @ 2017-11-20 7:45 UTC (permalink / raw)
To: Hyeim Yang
Cc: Arnaldo Carvalho de Melo, linux-kernel, Jiri Olsa, Namhyung Kim,
Taeung Song
On Sat, Nov 18, 2017 at 04:01:19PM +0900, Hyeim Yang wrote:
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Taeung Song <taeung@kosslab.kr>
> ---
> tools/perf/Documentation/tips.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
> index db0ca30..b60616a 100644
> --- a/tools/perf/Documentation/tips.txt
> +++ b/tools/perf/Documentation/tips.txt
> @@ -32,3 +32,4 @@ Order by the overhead of source file name and line number: perf report -s srclin
> System-wide collection from all CPUs: perf record -a
> Show current config key-value pairs: perf config --list
> Show user configuration overrides: perf config --user --list
> +Print matching source lines (may be slow): perf annotate --print-line <symbol>
this works only in stdio, so we need to add --stdio option as well
jirka
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-20 7:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-18 7:01 [PATCH] perf report/top: Add a tip about source line matching Hyeim Yang
2017-11-20 7:45 ` Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox