Re: [PATCH 04/20] perf tools: Support event grouping in hpp ->sort()

2014-05-15 Thread Namhyung Kim
Hi Jiri, On Thu, 15 May 2014 13:43:15 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:37PM +0900, Namhyung Kim wrote: > > SNIP > >> +static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, >> + hpp_field_fn get_field) >> +{ >> +s64 ret; >> +int i, nr_me

Re: [PATCH 04/20] perf tools: Support event grouping in hpp ->sort()

2014-05-15 Thread Jiri Olsa
On Mon, May 12, 2014 at 03:28:37PM +0900, Namhyung Kim wrote: SNIP > +static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, > +hpp_field_fn get_field) > +{ > + s64 ret; > + int i, nr_members; > + struct perf_evsel *evsel; > + struct hist_entry *pai