Re: [PATCH 8/9] perf script: Add period data column

From: Jiri Olsa
Date: Fri Oct 17 2014 - 12:11:00 EST


On Wed, Aug 27, 2014 at 08:33:53AM -0600, David Ahern wrote:
> On 8/25/14, 8:45 AM, Jiri Olsa wrote:
> >Adding period data column to be displayed in perf script.
> >It's possible to get period values using -f option, like:
> >
> > $ perf script -f comm,tid,time,period,ip,sym,dso
> > :26019 26019 52414.329088: 3707 ffffffff8105443a native_write_msr_safe ([kernel.kallsyms])
> > :26019 26019 52414.329088: 44 ffffffff8105443a native_write_msr_safe ([kernel.kallsyms])
> > :26019 26019 52414.329093: 1987 ffffffff8105443a native_write_msr_safe ([kernel.kallsyms])
> > :26019 26019 52414.329093: 6 ffffffff8105443a native_write_msr_safe ([kernel.kallsyms])
> > ls 26019 52414.329442: 537558 3407c0639c _dl_map_object_from_fd (/usr/lib64/ld-2.17.so)
> > ls 26019 52414.329442: 2099 3407c0639c _dl_map_object_from_fd (/usr/lib64/ld-2.17.so)
> > ls 26019 52414.330181: 1242100 34080917bb get_next_seq (/usr/lib64/libc-2.17.so)
> > ls 26019 52414.330181: 3774 34080917bb get_next_seq (/usr/lib64/libc-2.17.so)
> > ls 26019 52414.331427: 1083662 ffffffff810c7dc2 update_curr ([kernel.kallsyms])
> > ls 26019 52414.331427: 360 ffffffff810c7dc2 update_curr ([kernel.kallsyms])
> >
> >Cc: Andi Kleen <andi@xxxxxxxxxxxxxx>
> >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: Jen-Cheng(Tommy) Huang <tommy24@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/Documentation/perf-script.txt | 2 +-
> > tools/perf/builtin-script.c | 12 +++++++++++-
> > 2 files changed, 12 insertions(+), 2 deletions(-)
>
> Acked-by: David Ahern <dsahern@xxxxxxxxx>

Arnaldo,
could you please pick this one and patch 9/9?
just realized this was left behind ;-)

thanks,
jirka
--
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/