[RFC/PATCH 0/2] perf tools: Factor sort elide

From: Jiri Olsa
Date: Fri May 23 2014 - 11:16:16 EST


hi,
factoring the elide code to make perf_hpp__should_skip
function cheap call/check again.

Also I was wondering.. do we want to get rid of sort_entry
structs in favor of perf_hpp__* stuff? Any plans?

I'm sending this a RFC, since any other such refactoring
would change this stuff for sure as well ;-).

thanks,
jirka


Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
tools/perf/ui/browsers/hists.c | 8 ++++----
tools/perf/util/hist.h | 8 +++++++-
tools/perf/util/sort.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------
tools/perf/util/sort.h | 2 +-
4 files changed, 67 insertions(+), 53 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/