[Bug runtime/5218] New: Failed to detach staprun when it attached a running script
mhiramat at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Oct 24 20:53:00 GMT 2007
staprun unloads a script instead of detaching from it if the staprun was
attached to the script.
You can check it as follows:
1. make a script
$ stap -m foo -e 'probe begin{;}' -p4
2. launch it.
$ staprun -L foo.ko
3. attach.
$ staprun -A foo
4. send SIGQUIT
^4
5. check whether the script is loaded
$ lsmod | grep foo
AFAICS, the 'initialized' global variable in stapio is not initialized
correctly when '-A' option is given.
Thanks,
--
Summary: Failed to detach staprun when it attached a running
script
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5218
------- 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