Re: [PATCH 9/9] perf script: Add period as a default output column

From: David Ahern
Date: Wed Aug 27 2014 - 10:41:00 EST

On 8/25/14, 8:45 AM, Jiri Olsa wrote:
Adding period as a default output column in script command
fo hardware, software and raw events.

If PERF_SAMPLE_PERIOD sample type is defined in,
following will be displayed in perf script output:

$ perf script
ls 8034 57477.887209: 250000 task-clock: ffffffff81361d72 memset ([kernel.kallsyms])
ls 8034 57477.887464: 250000 task-clock: ffffffff816f6d92 _raw_spin_unlock_irqrestore ([kernel.kallsyms])
ls 8034 57477.887708: 250000 task-clock: ffffffff811a94f0 do_munmap ([kernel.kallsyms])
ls 8034 57477.887959: 250000 task-clock: 34080916c6 get_next_seq (/usr/lib64/
ls 8034 57477.888208: 250000 task-clock: 3408079230 _IO_doallocbuf (/usr/lib64/
ls 8034 57477.888717: 250000 task-clock: ffffffff814242c8 n_tty_write ([kernel.kallsyms])
ls 8034 57477.889285: 250000 task-clock: 3408076402 fwrite_unlocked (/usr/lib64/

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>

Acked-by: David Ahern <dsahern@xxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at