Messages in this thread | | | Date | Mon, 20 Nov 2017 08:45:41 +0100 | From | Jiri Olsa <> | Subject | Re: [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
| |