Re: [PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 20:18), Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding do_fork ends up with li

Re: [PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-14 Thread Jiri Olsa
On Wed, Jan 14, 2015 at 08:18:08PM +0900, Namhyung Kim wrote: > The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address > instead of the symbol name") converts kprobes to use ref_reloc_sym > (i.e. _stext) and offset instead of using symbol's name directly. So > on my system, adding d

[PATCH v2 4/4] perf probe: Fix probing kretprobes

2015-01-14 Thread Namhyung Kim
The commit dfef99cd0b2c ("perf probe: Use ref_reloc_sym based address instead of the symbol name") converts kprobes to use ref_reloc_sym (i.e. _stext) and offset instead of using symbol's name directly. So on my system, adding do_fork ends up with like below: $ sudo perf probe -v --add do_fork%