Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305197
| From | Namhyung Kim <namhyung@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line |
| Date | 2016-01-09 11:00 +0100 |
| Message-ID | <qOYts-3H2-1@gated-at.bofh.it> (permalink) |
| References | <qOheN-7wQ-17@gated-at.bofh.it> <qOA7N-3BQ-23@gated-at.bofh.it> <qOAhr-3X1-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 08, 2016 at 09:06:35AM +0100, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@kernel.org> wrote:
>
> >
> > * Namhyung Kim <namhyung@kernel.org> wrote:
> >
> > > Currently perf report only shows a help message "For a higher level
> > > overview, try: perf report --sort comm,dso" unconditionally (even if
> > > the sort keys were used). Add more help tips and show randomly.
> > >
> > > Load tips from ${prefix}/share/doc/perf-tip/tips.txt file.
> >
> > > +++ b/tools/perf/Documentation/tips.txt
> > > @@ -0,0 +1,14 @@
> > > +For a higher level overview, try: perf report --sort comm,dso
> > > +Group related events with: perf record -e '{cycles,instructions}:S'
> > > +Compare performance results with: perf diff [<old file> <new file>]
> > > +Boolean options have negative forms like: perf report --no-children
> > > +Customize output of perf script with: perf script -F event,ip,sym
> > > +Generate a script for your data: perf script -g <lang>
> > > +Save output of perf stat using: perf stat record
> > > +Create archive of data to see it on other machine: perf archive
> > > +Search options using a keyword: perf report -h <keyword>
> > > +Use parent filter to see specific call path: perf report -p <regex>
>
> We could also include a more basic tip that suggests call graph recording? Most
> people don't know about it I think.
Will add.
Thanks,
Namhyung
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC/PATCH v3] perf report: Show random usage tip on the help line Namhyung Kim <namhyung@kernel.org> - 2016-01-07 12:50 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Ingo Molnar <mingo@kernel.org> - 2016-01-08 09:00 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Ingo Molnar <mingo@kernel.org> - 2016-01-08 09:10 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Namhyung Kim <namhyung@kernel.org> - 2016-01-09 11:00 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-08 14:00 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Namhyung Kim <namhyung@kernel.org> - 2016-01-09 11:00 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Namhyung Kim <namhyung@kernel.org> - 2016-01-09 11:00 +0100
Re: [RFC/PATCH v3] perf report: Show random usage tip on the help line Ingo Molnar <mingo@kernel.org> - 2016-01-11 12:00 +0100
[tip:perf/core] perf report: Show random usage tip on the help line tip-bot for Namhyung Kim <tipbot@zytor.com> - 2016-01-09 17:50 +0100
csiph-web