[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6ba6084-e224-44c8-86e6-f3ae408209c1@linux.ibm.com>
Date: Wed, 6 Nov 2024 11:24:34 +0530
From: Hari Bathini <hbathini@...ux.ibm.com>
To: Segher Boessenkool <segher@...nel.crashing.org>,
Masami Hiramatsu <mhiramat@...nel.org>
Cc: Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>,
Michael Ellerman <mpe@...erman.id.au>,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
"Naveen N. Rao"
<naveen@...nel.org>,
lkml <linux-kernel@...r.kernel.org>,
linux-trace-kernel@...r.kernel.org,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH] selftests/ftrace: update kprobe syntax error test for
ppc64le
On 06/11/24 1:22 am, Segher Boessenkool wrote:
> Hi!
>
> On Tue, Nov 05, 2024 at 06:17:51PM +0900, Masami Hiramatsu wrote:
>> On Tue, 5 Nov 2024 02:20:18 -0600
>> Segher Boessenkool <segher@...nel.crashing.org> wrote:
>>> On Mon, Nov 04, 2024 at 11:06:23PM +0530, Hari Bathini wrote:
>>>> Seems like a bit of misunderstanding there. Function entry here intends
>>>> to mean the actual start of function code (function prologue) - after
>>>> GEP and function profiling sequence (mflr r0; bl mcount).
>>>
>>> What you call "function entry" here simply does not exist. The compiler
>>> can -- and ***WILL***, ***DOES*** -- mix up all of that.
>>
>> Here is the "function entry" means the function address.
>
> "Function entry point". "Function entry" can mean whatever nebulous
> thing done at the start of a function :-)
>
> You're free to use your own terminology of course, but it help to use
> standard names for standard things!
>
>> Not the prologue.
>
> But that is literally what Hari said, so it confused me.
Sorry about that. I should have said.. maybe prologue or whatever
nebulous thing at the start of a function :-)
Basically, the address provided to test case can be any insn in the
function code expect what the kernel considers function entry address..
Thanks
Hari
Powered by blists - more mailing lists