[PATCH] [5/5] Switch Kprobes inline functions to __kprobes for sparc64

David S. Miller davem@davemloft.net
Mon Apr 10 06:11:00 GMT 2006


From: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Date: Mon, 10 Apr 2006 11:31:28 +0530

> Andrew Morton pointed out that compiler might not inline the functions
> marked for inline in kprobes. There by allowing the insertion of probes
> on these kprobes routines, which might cause recursion. This patch
> removes all such inline and adds them to kprobes section there by
> disallowing probes on all such routines. Some of the routines can
> even still be inlined, since these routines gets executed after
> the kprobes had done necessay setup for reentrancy.
> 
> Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>

Signed-off-by: David S. Miller <davem@davemloft.net>



More information about the Systemtap mailing list