[Bug runtime/6416] New: SystemTap should recognize and disble probes on __devinit/__devexit functions
ananth at in dot ibm dot com
sourceware-bugzilla@sourceware.org
Wed Apr 16 09:37:00 GMT 2008
stap on a simple script:
probe kernel.function("*@drivers/net/ibmveth.c")
{
printf("%s\n", probefunc());
}
fails with the following error:
ERROR: probe kernel.function("ibmveth_probe@drivers/net/ibmveth.c:1103")
registration error (rc -22)
stapio:stp_main_loop:301 probe_start() returned -1
stapio:cleanup_and_exit:216 CLEANUP AND EXIT closed=1
This is because ibmveth_probe is annotated __devinit and as such will be
discarded after device initialization. Similarly for __devexit functions also.
Like is currently done with __init and __exit section symbols, SystemTap must
recognize and not probe __devinit/__devexit section symbols too.
--
Summary: SystemTap should recognize and disble probes on
__devinit/__devexit functions
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: ananth at in dot ibm dot com
CC: srinivasa at in dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6416
------- 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