fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
rmilkowski has quit [Ping timeout: 260 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 268 seconds]
hpt has joined #systemtap
orivej has quit [Ping timeout: 245 seconds]
irker794 has quit [Quit: transmission timeout]
yogananth has quit [Ping timeout: 244 seconds]
yogananth has joined #systemtap
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
khaled has joined #systemtap
orivej has joined #systemtap
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
hpt has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
orivej has quit [Ping timeout: 268 seconds]
gromero has joined #systemtap
orivej has joined #systemtap
gromero has quit [Quit: Leaving]
gromero has joined #systemtap
orivej has quit [Ping timeout: 244 seconds]
yogananth has quit [Quit: Leaving]
orivej has joined #systemtap
franks2 has joined #systemtap
<franks2>
Hi. Im trying to use systemtap on PHP. However the function__return are not displayed. Ive posted my scripts and info at: https://paste.ubuntu.com/p/XRdwXczHDB/ Can anyone spot whats wrong?
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
<fche>
franks2, stand by a few mins, will try to help shortly
tromey has joined #systemtap
orivej has quit [Ping timeout: 248 seconds]
<gromero>
fche: howdy
<gromero>
I'm preparing to ship fp patch for fp regs in ppc64
<gromero>
on running make check I see a couple of tests failing
<gromero>
I'm using upstream kernel
<gromero>
so I'm wondering if it's expected that some tests will fail anyways
<gromero>
I don't have a big picture on what's current status for the tests on ppc64
<gromero>
I don't think tests failing have any impact for the fp patch, but well, it's good to know : )
<fche>
yeah some failures are normal
<fche>
the main thing to look for in this context are regressions - reproducible changes from version with-vs-without your patch
<gromero>
fche: I see. thanks!
<fche>
franks2, looking at your test case now
<fche>
sorry for the delay
<fche>
thanks for the good packaging of the info, it all looks like it should work (tm)
<fche>
can try stap -t .... to let stap generate a probe hit-count apart from any printing in your handlers
<fche>
can try attaching to the function__return probes via gdb (it speaks sys/sdt.h also)
<fche>
(to see whether php is running across that stuff at all)
<fche>
can try attaching to php in general with gdb and break in the vicinity of that function_return probe (by line number or such), see what's going on
irker083 has joined #systemtap
<irker083>
systemtap: smakarov systemtap.git:refs/heads/master * release-4.1-57-ge037dc7 / bpf-translate.cxx testsuite/systemtap.bpf/bpf_tests/foreach_string.stp: stapbpf pr23875 bugfix :: allocate actual keysize in foreach to avoid stack clobber http://tinyurl.com/y5n3ybew
<irker083>
systemtap: smakarov systemtap.git:refs/heads/master * release-4.1-58-gebfc300 / testsuite/systemtap.bpf/bpf_tests/foreach.stp: stapbpf pr24811 test :: also test non-constant iteration limit in foreach.stp http://tinyurl.com/y5s7qzbq
CME has quit [Ping timeout: 264 seconds]
<fche>
franks2, sorry, haven't been able to reproduce the problem here just yet; I see the same sdt.h markers in my fedora30 php7.so tho
orivej has joined #systemtap
<gromero>
fche: giveup_all(), which we use to flush fp regs live state to fp thread structures, was introduced in v4.10. So I would like to limit fp support to >= 4.10. What do you suggest for that?
<fche>
couple of ways
<fche>
in the embedded-c code, you hcan have an #if kernel-version kind of thing
<fche>
in the tapset code, you can have a %( kernel_v %? %: %) kind of things
sscox has quit [Ping timeout: 246 seconds]
CME has joined #systemtap
<gromero>
fche: got it
tromey has quit [Quit: ERC (IRC client for Emacs 26.1)]
lindi- has quit [Ping timeout: 250 seconds]
lindi- has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
<franks2>
Fche: thanks for input. Will try tomorrow
dmalcolm has quit [Remote host closed the connection]