fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
brolley is now known as brolley|afk
<modem>
Hi!
<modem>
I need to retrieve some parameters of the higher grame
<modem>
frame*
<modem>
basically I have function1 (void * toto) { function2 (toto->anything); }
<modem>
I want to get the result of function2 when called from function1, with some conditionnal testing on function1's parameters (toto)
<modem>
Is there a convenient way of achieving it ?
brolley|afk has left #systemtap [#systemtap]
<modem>
I was thinking of putting a .callee probe on function2
<modem>
but then I don't know how to extract upper frame's parameter (toto). Thanks you :-)
<modem>
mmm just figured i could probe function1.return and check wherever function2's return has been set
<modem>
but still interested anyhow :-)
hchiramm has quit [Ping timeout: 240 seconds]
ego has joined #systemtap
ego has quit [Ping timeout: 264 seconds]
irker231 has quit [Quit: transmission timeout]
ego has joined #systemtap
nkambo has quit [Quit: Good day !]
hchiramm has joined #systemtap
ego has quit [Ping timeout: 276 seconds]
<fche>
modem, you would probably need two coordinated probes
<fche>
one in the outer function and one in the inner
<fche>
the outer one would save the parameters in a stap global array
<fche>
the inner one would conditionally read them from the array
srikar_away is now known as srikar
cbzx has joined #systemtap
cbzx has quit [Quit: Konversation terminated!]
srikar is now known as srikar_away
ego has joined #systemtap
srikar_away is now known as srikar
hchiramm has quit [Ping timeout: 276 seconds]
hchiramm has joined #systemtap
irker786 has joined #systemtap
<irker786>
systemtap: fche systemtap.git:refs/heads/master * release-2.9-429-g2cfaeeb / interactive.cxx: PR19847: in interactive mode, clear pending_interrupts at every prompt http://tinyurl.com/zzzvngh
<irker786>
systemtap: fche systemtap.git:refs/heads/master * release-2.9-430-gf534c26 / NEWS: NEWS: mark --interactive and --monitor experimental http://tinyurl.com/jswrp82