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
lindi- has quit [Ping timeout: 256 seconds]
lindi- has joined #systemtap
lindi- has joined #systemtap
lindi- has quit [Changing host]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 268 seconds]
nkambo has joined #systemtap
nkambo_ has joined #systemtap
nkambo has quit [Read error: Connection reset by peer]
mjw has joined #systemtap
pwithnall__ has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
pwithnall___ has joined #systemtap
Humble has joined #systemtap
pwithnall___ has quit [Quit: pwithnall___]
pwithnall___ has joined #systemtap
scox_ has quit [Ping timeout: 260 seconds]
pwithnall___ has quit [Ping timeout: 240 seconds]
hpt has quit [Quit: Lost terminal]
nkambo_ has quit [Ping timeout: 246 seconds]
nkambo_ has joined #systemtap
pwithnall___ has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 260 seconds]
nkambo__ has quit [Ping timeout: 246 seconds]
nkambo__ has joined #systemtap
pwithnall__ has joined #systemtap
pwithnall__ has quit [Client Quit]
nkambo__ has quit [Ping timeout: 246 seconds]
scox_ has joined #systemtap
nkambo__ has joined #systemtap
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
<lindi->
probe process("/usr/sbin/openvpn").function("buf_write") { foo($src, $size); } fails with cannot take address of object in register: identifier '$src' at :27:16 function: buf_valid at ./src/openvpn/buffer.h:219 inlined by buf_safe at ./src/openvpn/buffer.h:516 inlined by buf_write_alloc at ./src/openvpn/buffer.h:632 inlined by buf_write at ./src/openvpn/buffer.h:664 inlined by buf_write_u8 at ./src/openvpn/buffer.h:689 inlined by status_read at .
<lindi->
/src/openvpn/status.c:326
<lindi->
is my best bet just to recompile so that the particular function is marked with __attribute__((noinline)) or someting?
drsmith_away is now known as drsmith
<drsmith>
lindi-: that is certainly worth a try
<lindi->
drsmith: seems to work
<drsmith>
good deal
wcohen has joined #systemtap
brolley has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
<fche>
lindi-, [man error::dwarf] includes a few other suggestions too
<lindi->
fche: would it be possible to make a probe that'd just print contents of all registers so that you could manually choose which value actually is the one you want in such an inlined location?
<fche>
print_regs()
<lindi->
I already feel silly for not checking that out :)
<lindi->
thanks!
<fche>
man -k function::print
<fche>
man -k function::regist
<fche>
(there's no guarantee that the value is in any register)