fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #systemtap
darvon has joined #systemtap
eichiro has joined #systemtap
wyang123 has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
_whitelogger has joined #systemtap
pwithnall has joined #systemtap
pwithnall has quit [Read error: Connection reset by peer]
invano_ has quit [*.net *.split]
wyang123 has quit [Quit: wyang123]
wyang123 has joined #systemtap
invano_ has joined #systemtap
wyang123 has quit [Quit: wyang123]
slowfranklin has joined #systemtap
orivej has joined #systemtap
mjw has joined #systemtap
przemoc has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 272 seconds]
sscox has joined #systemtap
orivej has joined #systemtap
brolley has joined #systemtap
tromey has joined #systemtap
ggherdov has joined #systemtap
<ggherdov> Hello. If, given a probepoint, I know the position on the stack of some data I care about (eg. some offset from the base pointer $rbp etc) when that probepoint is hit, can I read such data w/ systemtap?
<fche> usually you don't have to do such machinations, because parameters are available symbolically via $foo etc.
<fche> but if you do have to, you could use register("rbp") or something to fetch the current register value, then do some of your own arithmetic, and dereference the resulting address with (say) kernel_long(addr)
<ggherdov> fche: right, but using `stap -L probepoint` the variable isn't visible (maybe optimized away). Readying the disassembled code, I think I know where the data is.
<ggherdov> Thanks for the suggestion of register("rbp"), I didn't know about it
orivej has quit [Ping timeout: 246 seconds]
slowfranklin has quit [Quit: slowfranklin]
przemoc has joined #systemtap
orivej has joined #systemtap
wyang123 has joined #systemtap
wyang123 has quit [Ping timeout: 244 seconds]
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1.50)]
brolley has left #systemtap [#systemtap]
mjw has quit [Quit: Leaving]
wyang123 has joined #systemtap