Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1292135
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys |
| Date | 2015-12-15 14:00 +0100 |
| Message-ID | <qFXmW-4ea-25@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <qFTMn-1YA-11@gated-at.bofh.it> <qFVbs-2PM-15@gated-at.bofh.it> <qFWKe-3YP-13@gated-at.bofh.it> <qFWTV-42L-29@gated-at.bofh.it> <qFXdg-4aK-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Dec 15, 2015 at 09:42:31PM +0900, Namhyung Kim wrote: > On Tue, Dec 15, 2015 at 01:24:26PM +0100, Jiri Olsa wrote: > > On Tue, Dec 15, 2015 at 09:13:20PM +0900, Namhyung Kim wrote: > > > On Tue, Dec 15, 2015 at 07:36:37AM -0300, Arnaldo Carvalho de Melo wrote: > > > > Em Tue, Dec 15, 2015 at 10:03:29AM +0100, Jiri Olsa escreveu: > > > > > On Tue, Dec 15, 2015 at 12:46:13AM +0900, Namhyung Kim wrote: > > > > > > Each tracepoint event has format string for print to improve > > > > > > readability. Try to parse the output and match the field name. If it > > > > > > finds one, use that for the result. If not, fallbacks to the original > > > > > > output. > > > > > > > > > > > > For example, sort on kmem:kmalloc.gfp_flags looks like below: > > > > > > (Note: libtraceevent plugins are not installed on my system. They might > > > > > > affect the output below) > > > > > > > > > > > > Before: > > > > > > # Overhead Command gfp_flags > > > > > > # ........ ....... .......... > > > > > > # > > > > > > 99.89% perf 32848 > > > > > > 0.06% sleep 208 > > > > > > 0.03% perf 32976 > > > > > > 0.01% perf 208 > > > > > > > > > > > > After: > > > > > > # Overhead Command gfp_flags > > > > > > # ........ ....... ................... > > > > > > # > > > > > > 99.89% perf GFP_NOFS|GFP_ZERO > > > > > > 0.06% sleep GFP_KERNEL > > > > > > 0.03% perf GFP_KERNEL|GFP_ZERO > > > > > > 0.01% perf GFP_KERNEL > > > > > > > > > > hum, maybe we want some way to switch back to numbers? > > > > > > OK. Maybe something like 'kmem:kmalloc.gfp_flags/raw' ? > > > > ok.. and some option that would make it happen globaly ;-) > > How about '--raw-trace' then? sounds good to me thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Namhyung Kim <namhyung@kernel.org> - 2015-12-14 16:50 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Jiri Olsa <jolsa@redhat.com> - 2015-12-15 10:10 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-12-15 11:40 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Namhyung Kim <namhyung@kernel.org> - 2015-12-15 13:20 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Jiri Olsa <jolsa@redhat.com> - 2015-12-15 13:30 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Namhyung Kim <namhyung@kernel.org> - 2015-12-15 13:50 +0100
Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys Jiri Olsa <jolsa@redhat.com> - 2015-12-15 14:00 +0100
csiph-web