fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
<DUKENUKEM> how do I list what the names of a fnctions arguments are?
<DUKENUKEM> im trying to hook slab_free (slub), and in the source code there is: s, page and x arguments (among others), but systemtap is saying: failed to retrieve location attribute for 'page'
<DUKENUKEM> [man error::dwarf] (dieoffset: 0x1a94bba): identifier '$page' at :91:77
<DUKENUKEM> it also shows me alternatives
<DUKENUKEM> alternatives: $addr $x $page $s)
<DUKENUKEM> and those do not work
<fche> hi DUKENUKEM
<fche> yeah for inlined functions, unfortunately gcc's debuginfo quality is sometimes poor
<DUKENUKEM> got it
<DUKENUKEM> so just have to deal with it i guess
<fche> yeah, the error::dwarf man page has some suggestions
<DUKENUKEM> is that a manpage using the usual "man" command ?
<DUKENUKEM> or is there another systemtap man
<DUKENUKEM> sorry for the dumb question :p
<fche> yes it is just the man command :)
<DUKENUKEM> man error::dwarf
<DUKENUKEM> No manual entry for error::dwarf
<fche> if you can think of a more intuitive way to say "run man error::dwarf"
<fche> hm .... that's a no-good distro if it excludes that wonderful man page
<DUKENUKEM> maybe its a separate package?
<DUKENUKEM> haha
<DUKENUKEM> this is an ubuntu distro, but my debian host machine does not have it either
<DUKENUKEM> systemtap-doc - documentation and examples for SystemTap
<DUKENUKEM> got it
<DUKENUKEM> thanks dood
<fche> no problemo d00000d
<DUKENUKEM> haha
<DUKENUKEM> damn i really wish i could see these arguments
<fche> try via a statement probe
<DUKENUKEM> yeah i did :\
<fche> you can even do a probe FOO.statement("*@file.c:NNN-MMM") i.e., a line number range
<DUKENUKEM> damn no dice
<DUKENUKEM> semantic error: while resolving probe point: identifier 'kernel' at kc.stp:86:7
<DUKENUKEM> source: probe kernel.statement("slab_free@/build/linux-lts-wily-Vv6Eyd/linux-lts-wily-4.2.0/mm/slub.c:2701-2741")
<DUKENUKEM> ^
<DUKENUKEM> semantic error: no match
<DUKENUKEM> hmm thats a little different
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 244 seconds]
zodbot has quit [Remote host closed the connection]
zodbot has joined #systemtap
_whitelogger has joined #systemtap
sscox has quit [Ping timeout: 250 seconds]
orivej has joined #systemtap
<fche> DUKENUKEM, try stap -L 'kernel.statement("*@mm/slub.c:2700-3000")'
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
<DUKENUKEM> fche: thanks
orivej has joined #systemtap
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap