fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
cbzx has joined #systemtap
cbzx has quit [Ping timeout: 240 seconds]
modem_ has quit [Quit: Quitte]
<fche> shellie_, kprobe.function() type probes do not provide access to context variables
<fche> try nd_syscall.execve or syscall.execve instead
<fche> modem, there is now a facility for systemtap script-level global variables to be accessible from embedded-c code
<fche> that may serve your purposes
hpt has joined #systemtap
<shellie_> fche: I used to call kprobe.function("do_execve") and be able to print the argv using argstr back in rhel5 days, do you know why this stopped working?
<shellie_> thanks for the advice, btw :)
<fche> shellie_, couldn't have been kprobe function
<fche> probably kernel.function("do_execve")
<fche> kernel.* normally relies on dwarf debuginfo , and exposes parameters via $foo
<shellie_> oh ok
<shellie_> it's weird, because I wrote these scripts in 2012 and I could almost swear I saw them working that way, but I am not confident enough to say that was the case exactly, I must be missing something (perhaps I comitted the work in progress from back then and never updated)
<shellie_> anyways, if I use nd_syscall.execve, how do I access argv?
<fche> could be. do try the syscall.* and nd_syscall.* variants though; they provide some helpful abstraction
<fche> % stap -L nd_syscall.execve
<fche> nd_syscall.execve name:string filename:string args:string env_str:string argstr:string
<shellie_> awesome :)
<fche> so stap -e 'probe nd_syscall.execve { println (argstr) }'
<shellie_> yup :-)
<shellie_> thanks!
<fche> righto
<fche> stap -L is your friend
<shellie_> it is indeed
<shellie_> I need to refresh my knowledge of systemtap, so I'll read through the documentation again
<shellie_> p.s: now that I think of it, I think I had to install the kernel-debug* packages in order to get that script with kprobe to work
<fche> kernel-debuginfo on fedora-ish
<shellie_> btw, is there any solution to tap into inline functions within the kernel?
<fche> stap likes them just fine
<shellie_> oh :)
<fche> probe kernel.function("some_inline") { } will try to catch inlined and non-inlined instances
<fche> see [man stapprobes]
<shellie_> excellent
<shellie_> thank you so much!
<fche> np
<shellie_> sleep time, there's more tomorrow. :-)
<fche> see ya
cbzx has joined #systemtap
hpt has quit [Ping timeout: 252 seconds]
hpt has joined #systemtap
ananth has joined #systemtap
srikar_away has quit [Ping timeout: 272 seconds]
srikar_away has joined #systemtap
srikar_away is now known as srikar
srikar is now known as srikar_away
ravi_ has joined #systemtap
ego has joined #systemtap
cbzx has quit [Quit: Konversation terminated!]
srikar_away has quit [Ping timeout: 272 seconds]
srikar_away has joined #systemtap
srikar_away is now known as srikar
naveen has joined #systemtap
hkshaw has joined #systemtap
naveen has quit [Ping timeout: 248 seconds]
naveen has joined #systemtap
sin8h has joined #systemtap
ananth has quit [Ping timeout: 256 seconds]
sin8h has quit [Quit: Leaving.]
ananth has joined #systemtap
sin8h has joined #systemtap
naveen1 has joined #systemtap
naveen has quit [Ping timeout: 260 seconds]
ravi_ has quit [Ping timeout: 240 seconds]
lzap has quit [*.net *.split]
modem has quit [*.net *.split]
tonyj has quit [*.net *.split]
tonyj has joined #systemtap
modem has joined #systemtap
lzap has joined #systemtap
sin8h has quit [Quit: Leaving.]
ego has quit [Ping timeout: 272 seconds]
sin8h has joined #systemtap
ego has joined #systemtap
ravi_ has joined #systemtap
wakatana2 has joined #systemtap
naveen has joined #systemtap
ravi_ has quit [Ping timeout: 260 seconds]
ravi__ has joined #systemtap
naveen1 has quit [Ping timeout: 264 seconds]
lzap has quit [Changing host]
lzap has joined #systemtap
tonyj has quit [Changing host]
tonyj has joined #systemtap
zodbot has quit [Disconnected by services]
zodbot has joined #systemtap
sin8h has quit [Quit: Leaving.]
naveen1 has joined #systemtap
naveen has quit [Ping timeout: 256 seconds]
sin8h has joined #systemtap
hkshaw has quit [Ping timeout: 256 seconds]
naveen1 has quit [Quit: Leaving.]
sin8h has quit [Quit: Leaving.]
hpt has quit [Ping timeout: 248 seconds]
sin8h has joined #systemtap
hpt has joined #systemtap
sin8h has quit [Quit: Leaving.]
ravi__ has quit [Remote host closed the connection]
hkshaw has joined #systemtap
mjw has joined #systemtap
ego has quit [Ping timeout: 240 seconds]
wcohen has quit [Remote host closed the connection]
ravi_ has joined #systemtap
ravi_ has quit [Remote host closed the connection]
hpt has quit [Ping timeout: 250 seconds]
ravi_ has joined #systemtap
wcohen has joined #systemtap
nkambo has joined #systemtap
nkambo1 has joined #systemtap
nkambo has quit [Ping timeout: 256 seconds]
drsmith has joined #systemtap
naveen has joined #systemtap
brolley has joined #systemtap
srikar is now known as srikar_away
Humble has joined #systemtap
ananth has quit [Quit: Leaving]
srikar_away is now known as srikar
naveen has quit [Quit: Leaving.]
ravi_ has quit [Remote host closed the connection]
naveen has joined #systemtap
naveen has quit [Quit: Leaving.]
srikar is now known as srikar_away
mjw has quit [Quit: Leaving]
hkshaw has quit [Read error: Connection reset by peer]
hkshaw has joined #systemtap
hkshaw has quit [Read error: Connection reset by peer]
mjw has joined #systemtap
hkshaw has joined #systemtap
hkshaw has quit [Read error: Connection reset by peer]
hkshaw has joined #systemtap
wcohen has quit [Ping timeout: 256 seconds]
wcohen has joined #systemtap
irker814 has joined #systemtap
<irker814> systemtap: mcermak systemtap.git:refs/heads/master * release-2.9-343-g33fb83a / testsuite/systemtap.stress/parallel_exec.exp: Fix PR19639 by updating the parallel_exec.exp testcase. http://tinyurl.com/grk57es
cbzx has joined #systemtap
cbzx has quit [Quit: Konversation terminated!]
drsmith has left #systemtap [#systemtap]
mjw has quit [Quit: Leaving]
brolley has left #systemtap [#systemtap]
przemoc has quit [Ping timeout: 240 seconds]
przemoc has joined #systemtap