Re: Re: [BUG] perf probe can't insert return kprobe

2015-01-12 Thread Masami Hiramatsu
(2015/01/10 18:51), Namhyung Kim wrote: > Hi Jiri, > > On Fri, Jan 09, 2015 at 04:44:21PM +0100, Jiri Olsa wrote: >> On Fri, Jan 09, 2015 at 04:30:56PM +0100, Jiri Olsa wrote: >>> On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa

Re: [BUG] perf probe can't insert return kprobe

2015-01-10 Thread Namhyung Kim
Hi Jiri, On Fri, Jan 09, 2015 at 04:44:21PM +0100, Jiri Olsa wrote: > On Fri, Jan 09, 2015 at 04:30:56PM +0100, Jiri Olsa wrote: > > On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: > > > On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > > > > hi, > > > > I couldn't use fol

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Jiri Olsa
On Fri, Jan 09, 2015 at 04:30:56PM +0100, Jiri Olsa wrote: > On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: > > On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > > > hi, > > > I couldn't use following perf command to insert return probe: > > > > > > # perf probe -a fork

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Jiri Olsa
On Sat, Jan 10, 2015 at 12:21:13AM +0900, Namhyung Kim wrote: > On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > > hi, > > I couldn't use following perf command to insert return probe: > > > > # perf probe -a fork_exit=do_fork%return > > Added new event: > > Failed to write event

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread David Ahern
On 1/9/15 8:21 AM, Namhyung Kim wrote: Is it just return probe? Did it work for normal kprobes? Maybe it's related to the below: https://lkml.org/lkml/2014/12/31/15 Have you check the acme/perf/urgent too? I believe that commit impacts uprobes only. David -- To unsubscribe from this list:

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Namhyung Kim
On Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa wrote: > hi, > I couldn't use following perf command to insert return probe: > > # perf probe -a fork_exit=do_fork%return > Added new event: > Failed to write event: Invalid argument > Error: Failed to add events. > > > I'm pretty sur

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread David Ahern
On 1/9/15 8:03 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa escreveu: hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Erro

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread David Ahern
On 1/9/15 7:55 AM, Jiri Olsa wrote: hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Error: Failed to add events. I'm pretty sure I used this command before, so seem

Re: [BUG] perf probe can't insert return kprobe

2015-01-09 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa escreveu: > hi, > I couldn't use following perf command to insert return probe: > > # perf probe -a fork_exit=do_fork%return > Added new event: > Failed to write event: Invalid argument > Error: Failed to add events. Wonder if we have

[BUG] perf probe can't insert return kprobe

2015-01-09 Thread Jiri Olsa
hi, I couldn't use following perf command to insert return probe: # perf probe -a fork_exit=do_fork%return Added new event: Failed to write event: Invalid argument Error: Failed to add events. I'm pretty sure I used this command before, so seems like it's broken. I can still use debugf