Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Jiri Olsa
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 a

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Namhyung Kim
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 a

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Jiri Olsa
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 eve

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Namhyung Kim
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 p

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Arnaldo Carvalho de Melo
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 r

Re: [PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Jiri Olsa
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,

[PATCH 6/6] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-14 Thread Namhyung Kim
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 plug