lkml.org 
[lkml]   [2016]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: perf report --no-children chopping off tracepoint fields
Hi Arnaldo,

On Thu, Apr 7, 2016 at 7:51 AM, Arnaldo Carvalho de Melo
<acme@kernel.org> wrote:
> Hi Namhyung,
>
> If I do:
>
> # perf record --call dwarf -p 2519 -e syscalls:sys_enter_open
>
> And then run plain 'perf report' I get this on the TUI, perfect:
>
> Samples: 1 of event 'syscalls:sys_enter_open', Event count (approx.): 1
> Children Self Trace output
> + 100.00% 100.00% filename: 0x7efe0cc9a96a, flags: 0x00000000, mode: 0x7fffa3da07f0
>
> But if I use 'perf report --no-children' I get it chopped off at the
> start of the first tp arg value:
>
> Samples: 1 of event 'syscalls:sys_enter_open', Event count (approx.): 1
> Overhead Trace output
> + 100.00% filename: 0x
>
> :-\

Hmm.. I cannot reproduce the problem. All (non-filtered) entries have
trace_output should calculate the column length in the output_resort()
-> hists__calc_col_len().

Btw it seems the --children is meaningless if symbol or dso sort keys
are not used.

Thanks,
Namhyung

\
 
 \ /
  Last update: 2016-04-08 10:01    [W:0.156 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site