Re: [PATCH 05/13] perf tools: Add dynamic sort key for tracepoint events

From: Arnaldo Carvalho de Melo
Date: Mon Jan 04 2016 - 10:04:56 EST


Em Wed, Dec 23, 2015 at 02:07:02AM +0900, Namhyung Kim escreveu:
> With dynamic sort keys, you can use <event.field> as a sort key. Those
> dynamic keys are checked and created on demand. For instance, below is
> to sort by next_pid field on the same data file.
>
> $ perf report -s comm,sched:sched_switch.next_pid --stdio

I think we should add the 'perf report' command line in its output, so
that one can, from the tool output obtain the command line used to
produce it.

Anyway, good stuff, back from vacation/paternity leave, processing the
queue.

- Arnaldo

> ...
> # Overhead Command next_pid
> # ........ ............... ..........
> #
> 21.23% transmission-gt 0
> 20.86% swapper 17773
> 6.62% netctl-auto 0
> 5.25% swapper 109
> 5.21% kworker/0:1H 0
> 1.98% Xephyr 0
--
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/