[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87fvgjbrv1.fsf@sejong.aot.lge.com>
Date: Tue, 26 Aug 2014 17:02:58 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>, linux-kernel@...r.kernel.org,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
David Ahern <dsahern@...il.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Jean Pihet <jean.pihet@...aro.org>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [PATCHv2] perf tools: Add +field argument support for --sort option
Hi Jiri,
On Sat, 23 Aug 2014 14:59:48 +0200, Jiri Olsa wrote:
> Adding support to add field(s) to default sort order
> via using the '+' prefix, like for report:
>
> $ perf report
> Samples: 2K of event 'cycles', Event count (approx.): 882172583
> Overhead Command Shared Object Symbol
> 7.39% swapper [kernel.kallsyms] [k] intel_idle
> 1.97% firefox libpthread-2.17.so [.] pthread_mutex_lock
> 1.39% firefox [snd_hda_intel] [k] azx_get_position
> 1.11% firefox libpthread-2.17.so [.] pthread_mutex_unlock
>
> $ perf report -s +cpu
> Samples: 2K of event 'cycles', Event count (approx.): 882172583
> Overhead Command Shared Object Symbol CPU
> 2.89% swapper [kernel.kallsyms] [k] intel_idle 000
> 2.61% swapper [kernel.kallsyms] [k] intel_idle 002
> 1.20% swapper [kernel.kallsyms] [k] intel_idle 001
> 0.82% firefox libpthread-2.17.so [.] pthread_mutex_lock 002
>
> Works in general for commands using --sort option.
>
> Cc: Arnaldo Carvalho de Melo <acme@...nel.org>
> Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
> Cc: David Ahern <dsahern@...il.com>
> Cc: Frederic Weisbecker <fweisbec@...il.com>
> Cc: Ingo Molnar <mingo@...nel.org>
> Cc: Jean Pihet <jean.pihet@...aro.org>
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Acked-by: Namhyung Kim <namhyung@...nel.org>
Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists