All of lore.kernel.org
 help / color / mirror / Atom feed
* perf report --no-children chopping off tracepoint fields
@ 2016-04-07 14:51 Arnaldo Carvalho de Melo
  2016-04-08  7:43 ` Namhyung Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-04-07 14:51 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Jiri Olsa, David Ahern, Wang Nan, Adrian Hunter,
	Linux Kernel Mailing List

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 

:-\

- Arnaldo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: perf report --no-children chopping off tracepoint fields
  2016-04-07 14:51 perf report --no-children chopping off tracepoint fields Arnaldo Carvalho de Melo
@ 2016-04-08  7:43 ` Namhyung Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Namhyung Kim @ 2016-04-08  7:43 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Jiri Olsa, David Ahern, Wang Nan, Adrian Hunter,
	Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-08  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 14:51 perf report --no-children chopping off tracepoint fields Arnaldo Carvalho de Melo
2016-04-08  7:43 ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.