fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
scox has joined #systemtap
<modem> fche, hey
<fche> hi
<modem> i am willing to implement something
<modem> hey
<fche> a volunteer!
<fche> looking for a PR?
<modem> i think i am gonna contribute a probe pagecache.library ("path.so:offset")
<fche> a function to traverse pagecache contents? or to do a lookup ?
<modem> so you could put probe on userland library (from shared pagecache)
<modem> no to put a breakpoint on a shared library
<modem> so you could for instance hijack some function and do system-wide statistic
<fche> as distinct from probe process("/lib64/libfoo.so") ?
<modem> i think probe process will actually put a breakpoint for a given process, no ?
<modem> i am asking in fact before working on anything
<fche> nope, into the shared library (all users thereof)
<modem> did you achieved it already ?
<modem> oh amazing
<modem> so it exist
<modem> amazing
<modem> how does it work ? :-)
<fche> maybe we should give it an alias like probe library("...").function(...) etc.
<modem> you don't use the rmap to find every instance of loaded library and add a bp ?
<modem> no no
<fche> how it works ... by hooking into the mmap system call, tracking when libraries are mapped;
<modem> i had an idee from something you already achieved, that's it
<modem> oh!
<modem> wait
<fche> when an expected library name is found, a uprobe is inserted
<modem> so it will hook *futur process using it*
<modem> not *actual process*
<fche> and present ones
<fche> it also does a search through existing processes
<fche> see the task-finder facility in the runtime
<fche> stap -DDEBUG_TASK_FINDER_VMA or somesuch
<modem> ah ok
<modem> amazing
<modem> i didn't imagined you would have implemented that
<fche> quite some time ago! :)
<modem> so i am erasing it from my todo
<fche> that's how some of the userspace CVE band-aids work - by tweaking libc.so in memory
<modem> to add ficx ?
<modem> to add fix ?
<fche> sort of
<fche> modem, hey, if you happen to have time, PR19906 would be helpful and not too hard
<modem> mmm
<modem> something using d_path () ?
<modem> yeah i can do that, sure
<modem> glad to help
<modem> that's mostly a wrapper to d_path (file->f_path, buf, buflen)
<fche> yup
<fche> the tapset function already exists
<fche> it just needs to be called from all the probe-point-aliases that could benefit from it - that have a $file value
<modem> so the rule is : always return full path
<modem> ok i will let you know if i start on that and ask you for precisions
<modem> is PR13864 still to day ?
<modem> I could defer in a workqueue
<fche> hm
<fche> yeah some deferral widgetry would be needed for that
<fche> (and the worst part of that is guaranteeing its cleanup/shutdown as a script exits)
hpt has joined #systemtap
scox has quit [Remote host closed the connection]
scox has joined #systemtap
irker921 has quit [Quit: transmission timeout]
tonyj has quit [Ping timeout: 250 seconds]
hkshaw has quit [Quit: Leaving.]
tonyj has joined #systemtap
ravi has joined #systemtap
nkambo has quit [Ping timeout: 268 seconds]
nkambo has joined #systemtap
hkshaw has joined #systemtap
ego has joined #systemtap
hkshaw has quit [Quit: Leaving.]
naveen has joined #systemtap
hkshaw has joined #systemtap
srikar_away is now known as srikar
mjw has joined #systemtap
scox has quit [Ping timeout: 276 seconds]
hkshaw has quit [Quit: Leaving.]
ravi has quit [Remote host closed the connection]
hkshaw has joined #systemtap
groleo has quit [Quit: Leaving.]
groleo has joined #systemtap
nkambo has quit [Ping timeout: 244 seconds]
hpt has quit [Ping timeout: 248 seconds]
naveen has quit [Quit: Leaving.]
nkambo has joined #systemtap
ego has quit [Ping timeout: 246 seconds]
ananth has joined #systemtap
hpt has joined #systemtap
scox has joined #systemtap
hpt has quit [Ping timeout: 252 seconds]
scox has quit [Ping timeout: 252 seconds]
wcohen has quit [Ping timeout: 244 seconds]
srikar is now known as srikar_away
scox has joined #systemtap
mbenitez has joined #systemtap
tromey has joined #systemtap
drsmith_away is now known as drsmith
wcohen has joined #systemtap
naveen has joined #systemtap
srikar_away is now known as srikar
irker305 has joined #systemtap
<irker305> systemtap: dsmith systemtap.git:refs/heads/master * release-3.0-17-g0e06c7e / tapset/linux/nd_syscalls.stp tapset/linux/nd_syscalls2.stp: Add missing asmlinkage() calls to nd_syscall.{membarrier,userfaultfd}. http://tinyurl.com/jy8sdl3
brolley has joined #systemtap
hkshaw has quit [Ping timeout: 276 seconds]
hkshaw has joined #systemtap
ananth has quit [Remote host closed the connection]
ravi has joined #systemtap
hkshaw has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 250 seconds]
hkshaw has joined #systemtap
naveen has quit [Quit: Leaving.]
hkshaw has quit [Quit: Leaving.]
darvon has quit [Ping timeout: 246 seconds]
pfallenop has quit [Ping timeout: 264 seconds]
pfallenop has joined #systemtap
darvon has joined #systemtap
ravi has quit [Remote host closed the connection]
srikar is now known as srikar_away
drsmith has left #systemtap [#systemtap]
nkambo has quit [Read error: Connection reset by peer]
nkambo has joined #systemtap
tromey has quit [Read error: Connection reset by peer]
drsmith has joined #systemtap
mbenitez has quit [Quit: Leaving]
wcohen has quit [Ping timeout: 276 seconds]
scox has quit [Ping timeout: 264 seconds]
brolley has left #systemtap [#systemtap]
drsmith has left #systemtap [#systemtap]
wcohen has joined #systemtap
zodbot has quit [Quit: puiterwijk]
scox has joined #systemtap