fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
pfallenop has quit [Ping timeout: 240 seconds]
wakatana2 has joined #systemtap
cbzx has joined #systemtap
pfallenop has joined #systemtap
cbzx has quit [Ping timeout: 240 seconds]
cbzx has joined #systemtap
wakatana2 has quit [Remote host closed the connection]
cbzx has quit [Quit: Konversation terminated!]
hkshaw has joined #systemtap
wakatana2 has joined #systemtap
wakatana2 has quit [Max SendQ exceeded]
hkshaw has quit [Ping timeout: 240 seconds]
modem_ has joined #systemtap
<modem_>
hi
<modem_>
with systemtap i am trying to implement this pattern :
<modem_>
- create a buffer (some local variable in C for example), reach thoses address from .stp script
<modem_>
I can create an embedded C function that allocate such variable and with STAP_RETURN return a "STAP_LONG"
<modem_>
and that's fine
<modem_>
but just wanted to know if there can be any lower-level API manipulation in tapset
<modem_>
for instance "kmalloc a buffer" "copy binary pattern inside" etc
<modem_>
that someone might be usefull
<modem_>
sometime
<modem_>
thanks :)
cbzx has joined #systemtap
shellie_ has joined #systemtap
<shellie_>
I'm running a stap script that calls kprobe.function on do_execve, but I'm getting this error: WARNING: never-assigned local variable '__argv'
<shellie_>
any idea how I can access the __argv array from do_execve in systemtap?