Re: [PATCHv2] perf tools: Add +field argument support for --sort option

2014-08-26 Thread Namhyung Kim
Hi Jiri, On Sat, 23 Aug 2014 14:59:48 +0200, Jiri Olsa wrote: > Adding support to add field(s) to default sort order > via using the '+' prefix, like for report: > > $ perf report > Samples: 2K of event 'cycles', Event count (approx.): 882172583 > Overhead Command Shared Object

[PATCHv2] perf tools: Add +field argument support for --sort option

2014-08-23 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:23:55PM +0200, Jiri Olsa wrote: > On Fri, Aug 22, 2014 at 12:16:51PM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > > } > > > > > > +static int setup_sort_order(void) > > > +{ > > > +#define BUF_MAX 4096 > > > > This is an arbitrary value, and you will use th