fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
yogananth has quit [Ping timeout: 268 seconds]
sapatel has quit [Ping timeout: 268 seconds]
__positron has joined #systemtap
hpt has joined #systemtap
<__positron> I am running this one-liner `sudo stap -e 'probe kernel.function("dequeue_skb") { printf("[%s] func: %s\n", execname(), probefunc()); }'` and I see a lot of `[ksoftirqd/0] func: __qdisc_run`, where I don't even probe this `__qdisc_run` function.
<fche> __positron, [man function::probefunc] may explain
<fche> it does an address-to-symbol-table lookup
<fche> you probably want ppfunc() instead
<__positron> Thank you fche. using `ppfunc` solved it. Can I take it as, I should _always_ use `ppfunc` and not `probefunc`?
<fche> pretty much
<fche> though
<fche> probefunc() could be handy if you are using e.g. probe timer.profile() and you don't know where you ended up
<__positron> I see. So, in my case, was `dequeue_skb` inlined inside `__qdisc_run` function which resulted in address-to-symbol lookup returning the latter instead of the former?
<fche> I believe so
<fche> you can check e.g. stap -L 'kernel.function("dequeue_skb").*'
<__positron> ok. Looks like it. `__qdisc_run` calls an inlined function `qdisc_restart` which in turn calls `dequeue_skb`
<__positron> These are hidden gems. Thank you. I run a custom kernel. I thought, something was broken with my kernel.
<fche> righto
<fche> while our man pages are not complete, it's always worth a man -k probefunc kind of query
<__positron> are these subtleties documented somewhere (other than man pages)? I did a perfunctory look at the manual https://sourceware.org/systemtap/langref.pdf . Sadly, I found only one instance of `probefunc` and no instance of `ppfunc`. I'd be happy to send a PR if the manual's source is open.
<fche> oh of course it's open :)
<fche> I kind of wish we didn't have so much overlap between the documents
<fche> the langref part to be honest should be just in the stap man page
<fche> and should leave tapset function documentation to ... the other man pages
<__positron> gotcha. where do you think these kind of hidden gems should go to?
<fche> well, this particular hidden gem is already in the function::probefunc man page
<fche> maybe you can think of another place or a cross reference
<__positron> sure. I can put a note somewhere in the manual. Might help someone in the future.
<fche> sure
<fche> email a patch at your leisure!
<__positron> will do!
sscox has joined #systemtap
yogananth has joined #systemtap
__positron has quit [Remote host closed the connection]
orivej has joined #systemtap
khaled has joined #systemtap
hpt has quit [Ping timeout: 245 seconds]
hpt has joined #systemtap
yogananth has quit [Ping timeout: 248 seconds]
yogananth has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
mjw has joined #systemtap
mjw has quit [Quit: Leaving]
mjw has joined #systemtap
sscox has quit [Ping timeout: 260 seconds]
hpt has quit [Ping timeout: 260 seconds]
orivej has quit [Remote host closed the connection]
orivej has joined #systemtap
hpt has joined #systemtap
hpt has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 268 seconds]
wcohen has quit [Ping timeout: 240 seconds]
sscox has joined #systemtap
wcohen has joined #systemtap
tromey has joined #systemtap
gromero has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap
gromero has joined #systemtap
sapatel has joined #systemtap
sapatel has quit [Quit: Leaving]
sapatel has joined #systemtap
wcohen has quit [Read error: Connection reset by peer]
wcohen has joined #systemtap
KDr2 has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 255 seconds]
<irker341> systemtap: sorenson systemtap.git:refs/heads/master * release-4.2-44-g1527d841c / tapset/linux/vfs.stp: Fix vfs.open probe use of 'cred' variable http://tinyurl.com/wpkou65
<irker341> systemtap: d.hatayama systemtap.git:refs/heads/master * release-4.2-45-gccad93fd0 / runtime/linux/loc2c-runtime.h: loc2c-runtime: fix compilation failure http://tinyurl.com/wxe5rr5
orivej has joined #systemtap
<irker341> systemtap: fche systemtap.git:refs/heads/master * release-4.2-46-g44d2c851c / testsuite/transok/retreg.stp: testsuite: add $return = 1 typo regression test http://tinyurl.com/txpsul9
<irker341> systemtap: fche systemtap.git:refs/heads/master * release-4.2-47-g88c6fb577 / .mailmap: .mailmap update http://tinyurl.com/wpgnqyj
gromero has quit [Ping timeout: 272 seconds]
wcohen has quit [Ping timeout: 240 seconds]
khaled has quit [Quit: Konversation terminated!]
tromey has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
mjw has quit [Quit: Leaving]
wcohen has joined #systemtap
sscox has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 240 seconds]
yogananth has quit [Read error: Connection reset by peer]