lkml.org 
[lkml]   [2017]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf report/top: Add a tip about source line matching
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

\
 
 \ /
  Last update: 2017-11-20 08:45    [W:0.033 / U:5.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site