[Bug kprobes/2152] jprobe variant to run handler instead of probed function
anil dot s dot keshavamurthy at intel dot com
sourceware-bugzilla@sourceware.org
Mon Jan 16 17:26:00 GMT 2006
------- Additional Comments From anil dot s dot keshavamurthy at intel dot com 2006-01-16 17:26 -------
> Probably just calling "return" instead of "jprobe_return" from the jprobe
> handler would do the trick ?
You can't do that(at least in the current design) as jprobe_handler are
executed with preempt disabled and current_kprobe set to this probe. Hence
jprobe_handler() _must_ execute jprobe_return(), so that Kprobe code can
reverse the preempt count and clear current_kprobe.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2152
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list