fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
pwithnall____ has quit [Quit: pwithnall____]
scox has joined #systemtap
Humble has quit [Ping timeout: 264 seconds]
Humble has joined #systemtap
Jackson_Xing has joined #systemtap
Jackson_Xing has quit [Client Quit]
hpt has joined #systemtap
irker394 has quit [Quit: transmission timeout]
Humble has quit [Ping timeout: 240 seconds]
Humble has joined #systemtap
sanoj has joined #systemtap
ravi_ has joined #systemtap
hkshaw has joined #systemtap
sona has joined #systemtap
Humble has quit [Quit: Leaving]
Humble has joined #systemtap
nkambo has joined #systemtap
Humble has quit [Ping timeout: 276 seconds]
Humble has joined #systemtap
pwithnall__ has joined #systemtap
sona has quit [Ping timeout: 255 seconds]
sona has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
sona has quit [Ping timeout: 246 seconds]
pwithnall____ has joined #systemtap
__positron has quit [Ping timeout: 276 seconds]
__positron has joined #systemtap
sona has joined #systemtap
zodbot has quit [Remote host closed the connection]
mjw has joined #systemtap
efiop has quit [Ping timeout: 260 seconds]
sanoj has quit [Ping timeout: 268 seconds]
zodbot has joined #systemtap
efiop has joined #systemtap
scox has quit [Ping timeout: 240 seconds]
hpt has quit [Remote host closed the connection]
sanoj has joined #systemtap
sanoj has quit [Client Quit]
sanoj has joined #systemtap
Jackson_Xing has joined #systemtap
Jackson_Xing has quit [Client Quit]
__positron has quit [Ping timeout: 258 seconds]
darvon has quit [Ping timeout: 260 seconds]
darvon has joined #systemtap
hkshaw has quit [Ping timeout: 255 seconds]
modem has quit [Ping timeout: 255 seconds]
modem has joined #systemtap
hkshaw has joined #systemtap
ravi_ has quit [Quit: Leaving]
__positron has joined #systemtap
groleo has joined #systemtap
groleo1 has joined #systemtap
groleo1 has left #systemtap [#systemtap]
scox has joined #systemtap
mbenitez has joined #systemtap
wcohen has quit [Remote host closed the connection]
drsmith_away is now known as drsmith
orivej has quit [Read error: Connection reset by peer]
sona has quit [Ping timeout: 240 seconds]
sona has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
csanting has joined #systemtap
csanting has quit [Remote host closed the connection]
modem has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
brolley has joined #systemtap
modem has joined #systemtap
sanoj has joined #systemtap
csanting has joined #systemtap
wcohen has joined #systemtap
sona has quit [Ping timeout: 268 seconds]
modem has quit [Ping timeout: 260 seconds]
csanting has quit [Remote host closed the connection]
csanting has joined #systemtap
modem has joined #systemtap
drsmith is now known as drsmith_away
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #systemtap
sona has joined #systemtap
csanting has quit [Remote host closed the connection]
csanting has joined #systemtap
sanoj has quit [Quit: Leaving]
modem has quit [Ping timeout: 240 seconds]
sanoj has joined #systemtap
modem has joined #systemtap
drsmith_away is now known as drsmith
yoppa has joined #systemtap
tromey has joined #systemtap
<yoppa> hi! is there a direct way (beside walking task struct list) to get a list of currently alive PIDs when the stap script starts e.g. in probe begin? I'd like to probe every new process, yet I want to exclude some procs that could enter the forking set
<yoppa> for example I launch a program via ssh but I want to exclude the tracing of sshd itself and so on. thanks!
<fche> a couple of questions - how do you want to probe those new processes?
<yoppa> for now I'm using a 3 level filtering system. I filter by a specifid uid, than I check if execname belongs to a list (including for example sshd, stapio, systemd ....) and finally I check if the process is in the forked set
<fche> - is the process.begin probe (which implicitly enumerates preexisting processes) good enoguh?
<fche> % sudo stap -e 'probe process.begin { println(pid(), " ", execname()) } ' -T 1
<yoppa> and yes, by probing I mean I'm tracking all the syscalls with probe nd_syscall.* and nd_syscall.*.return
<fche> --- enumerates current processes
<fche> ok, so probing the kernel, but filtering based on the calling process
<yoppa> exactly, sorry
<yoppa> the problem is that checking if execname is one of the avoided names is not flexible. I prefer to get the pids of those names at runtime
<fche> you can catch forks & exec's, and track pids and/or execnames as they change, if you like
<yoppa> but for now I'm only thinking of walking the task structs to get the pids
groleo has quit [Quit: Leaving.]
<fche> again probe process.begin { } will walk that stuff for you and call once per existing process
<fche> will fix the docs to spell this out
<yoppa> mmhh ok. I was sure process.begin is a one-time call fired when the stap script starts
<fche> no, that's 'begin'
<yoppa> ouh damn my mistake. I confused the two.
<fche> 's ok
<yoppa> really thanks fche. always ready and available to help
<yoppa> that seems to be what I was looking for
<fche> heh not always but we try! :)
irker031 has joined #systemtap
<irker031> systemtap: fche systemtap.git:refs/heads/master * release-3.1-62-gd082e17 / man/stapprobes.3stap: man stapprobes: mention that process.begin enumerates http://tinyurl.com/lbvec5y
rth has joined #systemtap
yoppa has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
yoppa has joined #systemtap
csanting has quit [Read error: Connection reset by peer]
csanting has joined #systemtap
modem has quit [Ping timeout: 240 seconds]
modem has joined #systemtap
sona has quit [Ping timeout: 240 seconds]
sanoj has quit [Ping timeout: 245 seconds]
sanoj has joined #systemtap
yoppa has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
yoppa has joined #systemtap
orivej has quit [Ping timeout: 276 seconds]
<irker031> systemtap: csanting systemtap.git:refs/heads/master * release-3.1-63-g87c1224 / tapset/ansi.stp tapset/linux/conversions.stp tapset/linux/proc_mem.stp tapset/linux/task_time.stp tapset/uconversions.stp: Remove duplication in deprecated tapset functions http://tinyurl.com/lk2m28k
<fche> thanks cody
<csanting> np
<csanting> the os updates resolved all issue I was having
<fche> very good
hkshaw has quit [Ping timeout: 240 seconds]
pwithnall____ has quit [Quit: pwithnall____]
zodbot has quit [Remote host closed the connection]
__positron has quit [Ping timeout: 260 seconds]
yoppa has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
yoppa has joined #systemtap
<irker031> systemtap: rth systemtap.git:refs/heads/master * release-3.1-64-gceac2b1 / dwflpp.cxx dwflpp.h staptree.h: Fix some errors in the loc2stap rewrite http://tinyurl.com/lrhkpvz
<irker031> systemtap: rth systemtap.git:refs/heads/master * release-3.1-65-g02a3ce2 / translate.cxx: Emit deref_fault labels http://tinyurl.com/mbmgqvv
<fche> thanks richard
<rth> np
zodbot has joined #systemtap
Humble has quit [Ping timeout: 240 seconds]
__positron has joined #systemtap
Humble has joined #systemtap
sanoj has quit [Ping timeout: 268 seconds]
yoppa has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
drsmith is now known as drsmith_away
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
mjw has quit [Quit: Leaving]
mbenitez has quit [Quit: Leaving]
scox has quit [Ping timeout: 246 seconds]
wcohen has quit [Ping timeout: 276 seconds]
orivej has joined #systemtap
brolley has left #systemtap [#systemtap]
rth has quit [Quit: Leaving]
pwithnall__ has joined #systemtap
___positron has joined #systemtap
__positron has quit [Ping timeout: 240 seconds]
irker031 has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
___positron has quit [Ping timeout: 255 seconds]
Humble has quit [Ping timeout: 260 seconds]
__positron has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]