[Bug dyninst/23701] dyninst makes the target process enter an infinite loop

scox at redhat dot com sourceware-bugzilla@sourceware.org
Fri Apr 5 17:04:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=23701

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scox at redhat dot com

--- Comment #1 from Stan Cox <scox at redhat dot com> ---
stapdyn uses dyninst to dynamically insert calls to the stap shared object and
then invokes it.  You could try keeping the stap so around so stapdyn can be
invoked separately
stap --runtime=dyninst -c ./a.out a.stp -vv --dyninst -k

and then invoke with dyninst and stapdyn debugging:

DYNINST_DEBUG_INST=1 stap -vvvv -e 'probe
process("/usr/bin/eu-nm").statement("main@*:*") {println(pp());}'  -c 'eu-nm'
-vv --dyninst -k

also DYNINST_DEBUG_PROCCONTROL

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list