Thread (15 messages) 15 messages, 4 authors, 2024-11-06

Re: [PATCH] selftests/ftrace: update kprobe syntax error test for ppc64le

From: Hari Bathini <hbathini@linux.ibm.com>
Date: 2024-11-06 06:11:56
Also in: linux-kselftest, linuxppc-dev, lkml


On 06/11/24 1:22 am, Segher Boessenkool wrote:
Hi!

On Tue, Nov 05, 2024 at 06:17:51PM +0900, Masami Hiramatsu wrote:
quoted
On Tue, 5 Nov 2024 02:20:18 -0600
Segher Boessenkool [off-list ref] wrote:
quoted
On Mon, Nov 04, 2024 at 11:06:23PM +0530, Hari Bathini wrote:
quoted
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!
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help