Messages in this thread | | | From | Jiri Olsa <> | Subject | [PATCH 0/2] perf tools: Add +field argument support for --field/--sort options | Date | Fri, 22 Aug 2014 15:58:37 +0200 |
| |
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@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jean Pihet <jean.pihet@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Jiri Olsa <jolsa@kernel.org> --- 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(-)
| |