Re: Trying to use 'perf probe' to debug perf itself

2015-02-26 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 26, 2015 at 01:57:42PM +0900, Masami Hiramatsu escreveu: > (2015/02/25 22:25), Arnaldo Carvalho de Melo wrote: > > Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: > >> (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: > >> Hmm, strange. Could you tell me the versio

Re: Trying to use 'perf probe' to debug perf itself

2015-02-25 Thread Masami Hiramatsu
(2015/02/25 22:25), Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: >> (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: >>> Available variables at thread__get >>> @ >>> struct thread* thread >>> [root@ssdandy ~]# > >

Re: Trying to use 'perf probe' to debug perf itself

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: > (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: > > Available variables at thread__get > > @ > > struct thread* thread > > [root@ssdandy ~]# > > cool, so I thought it would be just a matter of asking

Re: Trying to use 'perf probe' to debug perf itself

2015-02-24 Thread Masami Hiramatsu
Hi Arnaldo, (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: > Hi Masami, > > I'm adding thread refcounting in perf, and in this process I am > investigating a problem, so thought about using perf itself to match > thread__get with thread__put: > > [root@ssdandy ~]# perf probe -x ~/bin/p

Trying to use 'perf probe' to debug perf itself

2015-02-24 Thread Arnaldo Carvalho de Melo
Hi Masami, I'm adding thread refcounting in perf, and in this process I am investigating a problem, so thought about using perf itself to match thread__get with thread__put: [root@ssdandy ~]# perf probe -x ~/bin/perf -V thread__put Available variables at thread__put @