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

2021-02-12 Thread Jianlin Lv
rnel.org; > ndesaulni...@google.com; mhira...@kernel.org; f...@redhat.com; > irog...@google.com; suman...@linux.ibm.com; linux- > ker...@vger.kernel.org; clang-built-li...@googlegroups.com > Subject: Re: [PATCH v2] perf probe: fix kretprobe issue caused by GCC bug > > Em Wed, Feb 1

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

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 10, 2021 at 02:26:46PM +0800, Jianlin Lv escreveu: > 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

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

2021-02-10 Thread Masami Hiramatsu
On Wed, 10 Feb 2021 14:26:46 +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 v2] perf probe: fix kretprobe issue caused by GCC bug

2021-02-09 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