This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/16409] New: can't re-attach when using flight-recorder/detach mode and -c CMD together
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 07 Jan 2014 21:39:01 +0000
- Subject: [Bug runtime/16409] New: can't re-attach when using flight-recorder/detach mode and -c CMD together
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16409
Bug ID: 16409
Summary: can't re-attach when using flight-recorder/detach mode
and -c CMD together
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: jlebon at redhat dot com
It is currently not possible to combine the stap -F switch (or staprun -L
switch) with the -c switch. More specifically, inserting a module in
flight-recorder/detach mode and simultaneously running a -c CMD will cause
stapio to keep running (to spawn/wait the CMD) and thus make it impossible to
re-attach to the module later on.
For example:
[root@vm ~]# stap -e 'probe process.function("main") { println("entered main")
}' -c echo -m echomod -F
Disconnecting from systemtap module.
To reconnect, type "staprun -A echomod"
[root@vm ~]# staprun -A echomod
ERROR: Cannot attach to module echomod control channel; not running?
[root@vm ~]# ps aux | grep stapio
root 1711 0.0 0.0 110096 112 pts/0 S 16:08 0:00
/usr/libexec/systemtap/stapio -c echo -L /tmp/stapSmZInN/echomod.ko -F4
[root@vm ~]#
--
You are receiving this mail because:
You are the assignee for the bug.