fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
hpt has joined #systemtap
srikar_away is now known as srikar
hkshaw has joined #systemtap
srikar is now known as srikar_away
eck has quit [Quit: WeeChat 1.0.1]
ananth has joined #systemtap
hkshaw has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
hkshaw has quit [Client Quit]
hchiramm has quit [Ping timeout: 244 seconds]
ravi_ has joined #systemtap
naveen has joined #systemtap
ego has joined #systemtap
ego has quit [Ping timeout: 276 seconds]
hkshaw has joined #systemtap
irker197 has quit [Quit: transmission timeout]
hchiramm has joined #systemtap
ph7 has joined #systemtap
ph7 has quit [Quit: Leaving.]
ego has joined #systemtap
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 240 seconds]
hpt has quit [Ping timeout: 260 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 272 seconds]
ph7 has joined #systemtap
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 260 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 252 seconds]
irker870 has joined #systemtap
<irker870> systemtap: mcermak systemtap.git:refs/heads/master * release-3.0-108-g7a94051 / doc/Tapset_Reference_Guide/publicanize.sh scripts/update-docs: Run publicanize.sh as a part of update-docs. http://tinyurl.com/jhysdsp
modem has quit [Ping timeout: 250 seconds]
modem has joined #systemtap
mjw has joined #systemtap
ph7 has quit [Quit: Leaving.]
scox has quit [Ping timeout: 244 seconds]
ph7 has joined #systemtap
hchiramm has quit [Ping timeout: 272 seconds]
hchiramm has joined #systemtap
naveen has quit [Read error: Connection reset by peer]
hkshaw has quit [Ping timeout: 260 seconds]
lorddoskias has joined #systemtap
<lorddoskias> is probe end {} execute when ctrl+c is passed on a running stap session?
<lorddoskias> and if i'm using an arrays what's the correct way to clean them so that no memory leaks are introduced?
<fche> lorddoskias, yes
<fche> you don't need to clean anything
<fche> you don't need to initialize or lock anything
<fche> stap does it for you.
<lorddoskias> so probe end { delete global_array } is redundant?
<fche> yes
<lorddoskias> cool
nkambo has joined #systemtap
naveen has joined #systemtap
ananth has quit [Quit: Leaving]
ph7 has quit [Quit: Leaving.]
hkshaw has joined #systemtap
nkambo has quit [Ping timeout: 260 seconds]
ph7 has joined #systemtap
wcohen has quit [Ping timeout: 260 seconds]
gila has joined #systemtap
hkshaw has quit [Ping timeout: 258 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 252 seconds]
nkambo has joined #systemtap
<lorddoskias> fche: where can I get the list of output modifier, since the list at https://sourceware.org/systemtap/langref/Formatted_output.html seems rather empty ?
<lorddoskias> in particular i'd like to print a pointer so can I use %p ?
<lorddoskias> or %x?
<fche> either of those
<fche> man stap is the master documentation for such things
ph7 has quit [Quit: Leaving.]
<lorddoskias> right thanks :)
<fche> that langref page shouldn't have empty tables though :)
nkambo has quit [Ping timeout: 276 seconds]
scox has joined #systemtap
ph7 has joined #systemtap
naveen has quit [Ping timeout: 260 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 240 seconds]
hkshaw has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
naveen has joined #systemtap
nkambo has joined #systemtap
<lorddoskias> stack[$return] = sprint_backtrace();
<lorddoskias> that's a correct usage, no?
srikar_away is now known as srikar
<lorddoskias> since later when i use it such as: printf("%s\n", stack[$dquot]); i get an empty string and just the \n char :(
ph7 has quit [Quit: Leaving.]
<fche> there are some known problems with collecting full backtraces from .return probes, but there should be some content
<fche> would have to see more of your script to see if what you're doing makes sense
ph7 has joined #systemtap
nkambo has quit [Ping timeout: 252 seconds]
drsmith has joined #systemtap
ph7 has quit [Client Quit]
hkshaw has left #systemtap [#systemtap]
<lorddoskias> fche: here is it: http://pastebin.com/1t2U2Q4T
<lorddoskias> everything else works, it's just the printf for the stack that's acting up
<fche> have you tried printing out the stack[] array, to see if you're getting any good data?
<fche> stack[$dquot] will be an empty string if stack[$dquot] hasn't been assigned-to before
nkambo has joined #systemtap
hchiramm has quit [Ping timeout: 244 seconds]
<lorddoskias> ah, i finally managed to get some stacktraces
<lorddoskias> so it seems the code is correct per-se, it's just that it hasn't been assigned for a particular pointer
<fche> yeah, could be if the dqget calls don't line up one-for-one with remove_tree ones
<fche> you could do if ($dquot in stack) println(stack[$dquot])
hkshaw has joined #systemtap
naveen has quit [Quit: Leaving.]
naveen has joined #systemtap
tromey has joined #systemtap
wcohen has joined #systemtap
naveen has quit [Quit: Leaving.]
brolley has joined #systemtap
ravi_ has quit [Remote host closed the connection]
ph7 has joined #systemtap
<lorddoskias> ah, i was wondering whether there is such a "test for membership of array" :)
<fche> see [man stapref] or [man stap]
srikar is now known as srikar_away
srikar_away is now known as srikar
ego has quit [Ping timeout: 246 seconds]
<irker870> systemtap: csanting systemtap.git:refs/heads/csanting/PR11637 * release-3.0-97-gcbd1afb / tapset/uconversions-guru.stp testsuite/systemtap.base/set_user.c testsuite/systemtap.base/set_user.exp testsuite/systemtap.base/set_user.stp testsuite/systemtap.base/set_user_fail.stp: 11637: Added test cases, added to set_user_* functions http://tinyurl.com/z4n6g8o
naveen has joined #systemtap
Empyrium has joined #systemtap
ph7 has quit [Quit: Leaving.]
mbenitez has quit [Quit: To office]
ego has joined #systemtap
mbenitez has joined #systemtap
eck has joined #systemtap
srikar is now known as srikar_away
ego has quit [Quit: Leaving]
naveen has quit [Quit: Leaving.]
nkambo1 has joined #systemtap
nkambo has quit [Ping timeout: 260 seconds]
nkambo1 has quit [Ping timeout: 258 seconds]
nkambo1 has joined #systemtap
mbenitez has quit [Quit: Leaving]
nkambo1 has quit [Ping timeout: 252 seconds]
mbenitez has joined #systemtap
irker870 has quit [Quit: transmission timeout]
mjw has quit [Quit: Leaving]
mjw has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 25.0.94.1)]
mjw has quit [Quit: Leaving]
mbenitez has quit [Quit: Leaving]
scox has quit [Ping timeout: 260 seconds]
wcohen has quit [Ping timeout: 260 seconds]
drsmith has left #systemtap [#systemtap]
brolley has left #systemtap [#systemtap]
wcohen has joined #systemtap
hkshaw has quit [Quit: Leaving.]
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]