fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
sscox has joined #systemtap
hpt has joined #systemtap
irker860 has quit [Quit: transmission timeout]
hpt has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 255 seconds]
hpt has joined #systemtap
invano has quit [*.net *.split]
ema has quit [*.net *.split]
pfallenop has quit [*.net *.split]
darvon has quit [*.net *.split]
invano has joined #systemtap
ema has joined #systemtap
darvon has joined #systemtap
pfallenop has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
orivej has joined #systemtap
slowfranklin has joined #systemtap
mjw has joined #systemtap
gila has joined #systemtap
hpt has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 250 seconds]
_whitelogger has joined #systemtap
orivej has joined #systemtap
orivej has quit [Ping timeout: 255 seconds]
sscox has quit [Ping timeout: 250 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
<invano>
I guys. I'm trying systemtap with python for the first time. using systemtap version 4.0/0.165, non-git sources compiled with py2 and py3 support and I also have the py dev libs installed on my ubuntu 16.04 machine. I'm using a simple stp script like 'probe python3.module("test").function("*") { println($$parms) }' and I run it like 'stap test.stp -c "python -m HelperSDT test.py"'.
<invano>
this fails with: semantic error: while processing function Py2Object_Repr and semantic error: type definition 'PyObject' not found in 'python:/usr/lib64/libpython2.7.so:/usr/lib/libpython2.7.so:/usr/lib64/libpython2.6.so:/usr/lib/libpython2.6.so': operator '@cast' at /usr/local/share/systemtap/tapset/python2.stp:82:5
<fche>
the way the tapset is written, it looks like it needs python2-debuginfo so as to decode the object contents
<fche>
(a modified version could synthesize that on the fly from python-devel header files in theory)
wcohen has quit [Ping timeout: 240 seconds]
sscox has joined #systemtap
sscox has quit [Ping timeout: 245 seconds]
sscox has joined #systemtap
<invano>
hi fche I have python dbg symbols already installed
<fche>
matching version etc.? do you have rpm / dpkg version numbers?
wcohen has joined #systemtap
irker417 has joined #systemtap
<irker417>
systemtap: wcohen systemtap.git:refs/heads/wcohen/backtrace * release-4.0-134-gf7fb9c9 / runtime/stack.c translate.cxx: Do the search save_stack_trace_regs() in the stap module's initialization http://tinyurl.com/yxw3opo5
<fche>
thanks wcohen!
<wcohen>
fche, can you take a look at that to see that it make sense.
<fche>
yup, except if the function is exported (crossing fingers), you should be able to just take a literal address of the thing
<fche>
is the runtime/stack.c side #if* stuff now such that it doesn't assert exported-ness of that symbol?
orivej has quit [Ping timeout: 245 seconds]
tromey has joined #systemtap
<fche>
yeah, it does, thanks, just looked over the other patches on that branch
<fche>
looks good
slowfranklin has left #systemtap [#systemtap]
<fche>
s h i p i t
<wcohen>
fche, I noticed that stp_utrace used some wrapper for exported function. is there a real advantage to that added complexity?
<irker417>
systemtap: wcohen systemtap.git:refs/heads/master * release-4.0-133-g8c1dde7 / runtime/stack.c: Use kallsyms_lookup_name to find save_stack_trace_regs() for fallback unwind http://tinyurl.com/y3emnfjh
<irker417>
systemtap: wcohen systemtap.git:refs/heads/master * release-4.0-134-gf7fb9c9 / runtime/stack.c translate.cxx: Do the search save_stack_trace_regs() in the stap module's initialization http://tinyurl.com/yxw3opo5
<fche>
wcohen, not sure.
orivej has joined #systemtap
<fche>
just a different style methinks
<wcohen>
fair enough. I am "not sure" of a lot of things. :)
khaled has joined #systemtap
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #systemtap
<invano>
hey fche I'm playing on ubuntu 16.04 with python2.7 and python2.7-dbg 2.7.12-1ubuntu0~16.04.4