[PATCH 0/2] perf tools: Add +field argument support for --field/--sort options

From: Jiri Olsa
Date: Fri Aug 22 2014 - 09:58:58 EST


hi,
adding support to add field(s) to default field and sort orders
via using the '+' prefix, like for report:
$ perf report -F +period,sample
$ perf report -s +cpu

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: Jean Pihet <jean.pihet@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
Jiri Olsa (2):
perf tools: Add +field argument support for --field option
perf tools: Add +field argument support for --sort option

tools/perf/ui/hist.c | 4 ++--
tools/perf/util/sort.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
tools/perf/util/sort.h | 1 +
3 files changed, 49 insertions(+), 8 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/