Re: [RFC 0/5] per-event settings fixes

From: Arnaldo Carvalho de Melo
Date: Tue Jan 16 2018 - 10:38:15 EST


Em Tue, Jan 16, 2018 at 04:27:52PM +0100, Thomas-Mich Richter escreveu:
> --- ::1 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.047/0.047/0.047/0.000 ms
> 0.000 probe_libc:inet_pton:(3ffb4bc2060))
> [root@s8360047 perf]#
>
> Test fails, I would have expected some callchain output.
>
> [root@s8360047 perf]# ./perf trace --no-syscalls --call-graph dwarf --max-stack 4
> -e probe_libc:inet_pton/max-stack=3/ ping -6 -c 1 ::1
> PING ::1(::1) 56 data bytes
> 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.055 ms
>
> --- ::1 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.055/0.055/0.055/0.000 ms
> 0.000 probe_libc:inet_pton:(3ff7e6c2060))
> [root@s8360047 perf]#
>
> Test fails, I would have expected some callchain output.
>
> It looks like /max-stack=3/ without ,call-graph=dwarf
> does not trigger the stack unwinding.

Ok, will work on those, then redo all the tests you did, grr, tricky
stuff.

- Arnaldo