Re: [PATCH RESEND 2/5] perf diff: Get rid of hists__compute_resort()

2015-01-04 Thread Jiri Olsa
On Sat, Dec 27, 2014 at 02:06:30PM +0900, Namhyung Kim wrote: > The hists__compute_resort() is to sort output fields based on the > given field/criteria. This was done without the sort list but as we > added the field to the sort list, we can do it with normal > hists__output_resort() using the

Re: [PATCH RESEND 2/5] perf diff: Get rid of hists__compute_resort()

2015-01-04 Thread Jiri Olsa
On Sat, Dec 27, 2014 at 02:06:30PM +0900, Namhyung Kim wrote: The hists__compute_resort() is to sort output fields based on the given field/criteria. This was done without the sort list but as we added the field to the sort list, we can do it with normal hists__output_resort() using the -sort

[PATCH RESEND 2/5] perf diff: Get rid of hists__compute_resort()

2014-12-26 Thread Namhyung Kim
The hists__compute_resort() is to sort output fields based on the given field/criteria. This was done without the sort list but as we added the field to the sort list, we can do it with normal hists__output_resort() using the ->sort callback. Signed-off-by: Namhyung Kim ---

[PATCH RESEND 2/5] perf diff: Get rid of hists__compute_resort()

2014-12-26 Thread Namhyung Kim
The hists__compute_resort() is to sort output fields based on the given field/criteria. This was done without the sort list but as we added the field to the sort list, we can do it with normal hists__output_resort() using the -sort callback. Signed-off-by: Namhyung Kim namhy...@kernel.org ---