Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 15, 2018 at 03:50:15PM +0100, Thomas-Mich Richter escreveu: > On 01/15/2018 03:16 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo escreveu: > >>> [root@f27 perf]# ./perf trace --no-syscalls --max-stack 4 > >>> -e probe_l

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Thomas-Mich Richter
On 01/15/2018 03:16 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo escreveu: >>> [root@f27 perf]# ./perf trace --no-syscalls --max-stack 4 >>> -e probe_libc:inet_pton/call-graph=dwarf/ ping -6 -c 1 ::1 >>> PING ::1(::1) 56 data bytes

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Hendrik Brueckner
On Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 15, 2018 at 01:31:00PM +0100, Thomas-Mich Richter escreveu: > > On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo > > > escreveu: >

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo escreveu: > > [root@f27 perf]# ./perf trace --no-syscalls --max-stack 4 > > -e probe_libc:inet_pton/call-graph=dwarf/ ping -6 -c 1 ::1 > > PING ::1(::1) 56 data bytes > > 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.020 ms >

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 15, 2018 at 01:31:00PM +0100, Thomas-Mich Richter escreveu: > On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: > >> There is still room for improvement, I noticed overriding is not working > >> for t

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 15, 2018 at 10:11:02AM +0100, Thomas-Mich Richter escreveu: > On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: > >> There is still room for improvement, I noticed overriding is not working > >> for t

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Thomas-Mich Richter
On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: >> There is still room for improvement, I noticed overriding is not working >> for the probe event, investigating it now. > > So, I had to fix this another way to

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Thomas-Mich Richter
On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: >> There is still room for improvement, I noticed overriding is not working >> for the probe event, investigating it now. > > So, I had to fix this another way to

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-12 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo escreveu: > There is still room for improvement, I noticed overriding is not working > for the probe event, investigating it now. So, I had to fix this another way to get the possibility of overwriting the global options (--max-sta

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-12 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 12, 2018 at 12:01:42PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jan 12, 2018 at 11:20:32AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Jan 12, 2018 at 11:03:55AM +0100, Thomas Richter escreveu: > > > On Intel platform when I execute test case > > >probe libc's i

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-12 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 12, 2018 at 11:20:32AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jan 12, 2018 at 11:03:55AM +0100, Thomas Richter escreveu: > > On Intel platform when I execute test case > >probe libc's inet_pton & backtrace it with ping > > I get this output which is correct: > > [root@

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-12 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 12, 2018 at 11:03:55AM +0100, Thomas Richter escreveu: > On Intel platform when I execute test case >probe libc's inet_pton & backtrace it with ping > I get this output which is correct: > > [root@f27 perf]# ./perf trace --no-syscalls > -e probe_libc:inet_pton/max-sta