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
Amy1 has quit [Ping timeout: 260 seconds]
sscox has quit [Ping timeout: 260 seconds]
sscox has joined #systemtap
sscox has quit [Ping timeout: 260 seconds]
sscox has joined #systemtap
tonyj has quit [Remote host closed the connection]
yogananth has joined #systemtap
khaled has joined #systemtap
mjw has joined #systemtap
hpt has quit [Ping timeout: 265 seconds]
_whitelogger has joined #systemtap
Amy1 has joined #systemtap
<Amy1>
serhei: "not matched" means that a probe not found in source code.
<Amy1>
When this occured, stap prints that a error of "not matched".
<fche>
Amy1, so if you want a stap script probe to be optional - for the script to run even if a particular probe point is not accessible, put a "?" at the end of the probe point
<fche>
probe foo ? { }
<Amy1>
fche: thank you
<Amy1>
could I implement using stap commands?
<Amy1>
I don't want to modify the script.
<fche>
I don't think there is a way
tromey has joined #systemtap
<Amy1>
ok, thank you
Amy1 has quit [Quit: WeeChat 2.2]
sapatel has joined #systemtap
<khaled>
Hi Frank, I built an rpm package for a kernel module, After installing both the package and the debug info pkg I can see the unstipped .ko file in place and the .debug files in the /lib/debug/lib/modules/<uname -r> but still stap -L module("modname").function("*") is not returning the function parameters
<khaled>
Knowing that it is working for the kernel and the installed userspace binaries with debugging symbols included
<fche>
khaled, you could strace stap to see where it's looking for debuginfo
<fche>
(or can I interest you in debuginfod-based lookup? are you running a platform with elfutils 0.178 + ?)
<khaled>
mine is elfutils-libs-0.176
<khaled>
strace shows stap is able to reach the symbols
<fche>
can it find your modname.debug file?
<fche>
how was the .debug file and the .ko created? Is there any actual dwarf content in either?
<khaled>
.debug and .ko were created with rpmbuild -ba
Amy1 has joined #systemtap
amerey has joined #systemtap
<khaled>
And I don't have permission to share the .debug at this moment :(
<fche>
ok, can you strace -eopen,openat stap .... to see whether it does find the modname.debug file
<fche>
and you can also rerun stap with -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
<fche>
or so
<khaled>
OK, it's a good way to continue on this, Thanks alot Frank :)
tonyj has joined #systemtap
sscox has quit [Ping timeout: 260 seconds]
sscox has joined #systemtap
sscox has quit [Read error: Connection reset by peer]
mjw has quit [Quit: Leaving]
gromero has joined #systemtap
gromero has quit [Client Quit]
sscox has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 28.0.50)]