This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6416] New: SystemTap should recognize and disble probes on __devinit/__devexit functions
- From: "ananth at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Apr 2008 09:26:56 -0000
- Subject: [Bug runtime/6416] New: SystemTap should recognize and disble probes on __devinit/__devexit functions
- Reply-to: sourceware-bugzilla at sourceware dot org
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.