Re: [PATCH v3] perf probe: fix kretprobe issue caused by GCC bug

2021-02-17 Thread Nick Desaulniers
On Tue, Feb 16, 2021 at 2:30 AM Jianlin Lv wrote: > > Perf failed to add kretprobe event with debuginfo of vmlinux which is > compiled by gcc with -fpatchable-function-entry option enabled. > The same issue with kernel module. > > Issue: > > # perf probe -v 'kernel_clone%return $retval' >

Re: [PATCH v3] perf probe: fix kretprobe issue caused by GCC bug

2021-02-17 Thread Masami Hiramatsu
On Tue, 16 Feb 2021 18:30:26 +0800 Jianlin Lv wrote: > Perf failed to add kretprobe event with debuginfo of vmlinux which is > compiled by gcc with -fpatchable-function-entry option enabled. > The same issue with kernel module. > > Issue: > > # perf probe -v 'kernel_clone%return $retval' >

[PATCH v3] perf probe: fix kretprobe issue caused by GCC bug

2021-02-16 Thread Jianlin Lv
Perf failed to add kretprobe event with debuginfo of vmlinux which is compiled by gcc with -fpatchable-function-entry option enabled. The same issue with kernel module. Issue: # perf probe -v 'kernel_clone%return $retval' .. Writing event: r:probe/kernel_clone__return _text+599624