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_]
hpt has joined #systemtap
hpt_ has joined #systemtap
hpt has quit [Ping timeout: 260 seconds]
_whitelogger has joined #systemtap
sanoj has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
naveen_ has joined #systemtap
sanoj has joined #systemtap
irker094 has quit [Quit: transmission timeout]
atomlin has quit [Ping timeout: 240 seconds]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #systemtap
atomlin has joined #systemtap
naveen__ has joined #systemtap
naveen_ has quit [Ping timeout: 255 seconds]
mjw has joined #systemtap
pwithnall has joined #systemtap
pwithnall has quit [Quit: pwithnall]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
hpt_ has quit [Quit: Lost terminal]
pwithnall_ has joined #systemtap
pwithnall_ has quit [Client Quit]
pwithnall has joined #systemtap
sanoj has quit [Ping timeout: 248 seconds]
sanoj has joined #systemtap
CME has quit [Read error: Connection reset by peer]
CME has joined #systemtap
orivej has quit [Ping timeout: 248 seconds]
CME has quit [Ping timeout: 260 seconds]
CME has joined #systemtap
nkambo_ has quit [Ping timeout: 240 seconds]
pwithnall_ has joined #systemtap
naveen_ has joined #systemtap
naveen__ has quit [Ping timeout: 276 seconds]
pwithnall_ has quit [Quit: pwithnall_]
naveen__ has joined #systemtap
naveen_ has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
sanoj has quit [Quit: Leaving]
nkambo_ has joined #systemtap
naveen__ has quit [Quit: WeeChat 1.9]
brolley has joined #systemtap
wcohen has quit [Ping timeout: 260 seconds]
drsmith_away is now known as drsmith
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
gpiccoli has joined #systemtap
tromey has joined #systemtap
wcohen has joined #systemtap
mjw has quit [Quit: Leaving]
nkambo__ has joined #systemtap
nkambo_ has quit [Ping timeout: 260 seconds]
mjw has joined #systemtap
CME has quit [Quit: ZNC - http://znc.sourceforge.net]
CME has joined #systemtap
eichiro has quit [Ping timeout: 260 seconds]
slowfranklin has joined #systemtap
<slowfranklin> Hey folks!
<slowfranklin> Another question: how can I probe static functions by name if there are multiple versions and I only want to probe one?
<slowfranklin> Ie I have:
<slowfranklin> (gdb) l query_user_list
<slowfranklin> file: "../source3/winbindd/winbindd_ads.c", line number: 295
<slowfranklin> file: "../source3/winbindd/winbindd_reconnect.c", line number: 87
<slowfranklin> file: "../source3/winbindd/winbindd_reconnect_ads.c", line number: 38
<slowfranklin> I tried
<slowfranklin> probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c")
<fche> tried probe foo.function("bar@file.c") ?
<slowfranklin> but that doesn't seem to work
<fche> hmm, it should
<slowfranklin> really? ok. I'll try again.
<slowfranklin> There's a chance that the functions are just not called in my scenario.
eichiro has joined #systemtap
<fche> there may be a bug that prevents proper filtering from working, but yeah it should work that way
<mjw> slowfranklin, If you use stap -L 'process("winbindd").function("query_user_list@*")' it should show you the variants stap can see/find.
<slowfranklin> ahhh, more magic. Awesome! ;)
<mjw> of -l if you don't care about the arguments
* slowfranklin checking...
<slowfranklin> Has the line number in the probe eg
<slowfranklin> process("/home/slow/git/samba/scratch/bin/default/source3/winbindd/winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c:292")
<slowfranklin> I wanted to avoid the line numer so the script works regardless of source code changes...
<mjw> I don't think the :line is required
<mjw> if it is you can surely use :*
<slowfranklin> ah...
<mjw> I think you can use lots of wildcards, so just query_user_list@*windbindd_ads* should also work I think
<mjw> I think a lot apparently...
* slowfranklin trying to use * for the line numbers
<slowfranklin> Damn :)
<slowfranklin> WARNING: For probing a particular line, use a .statement() probe, not .function(): keyword at script/winbindd.stp:570:1
<slowfranklin> source: probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c:*") {
<slowfranklin> ^
<fche> ignore it, trying to be helpful
<fche> other than the warning, is the output the same with/without the :* ?
* slowfranklin checking...
<slowfranklin> Hm, looks like the probe points still aren't triggered.
<slowfranklin> But let me do some sanity checks first, maybe I'm doing something wrong somewhere else.
<fche> but stap is identifying the probe point OK? (stap -t can help verify)
<slowfranklin> Will check
<slowfranklin> Fwiw, the script is here:
<slowfranklin> https://git.samba.org/?p=slow/samba.git;a=shortlog;h=refs/heads/perf
<slowfranklin> https://git.samba.org/?p=slow/samba.git;a=blob;f=script/winbindd.stp;h=6a7dfdede45f394c325bdbf4de974b17ff9a1c21;hb=962460a578d0149f620ecedf4417731d16111da2
<slowfranklin> Actually generated via a shell script:
<slowfranklin> https://git.samba.org/?p=slow/samba.git;a=blob;f=script/generate-winbindd.stp.sh;h=8379fe057f0a68836778ebffa975b1b3a0382811;hb=962460a578d0149f620ecedf4417731d16111da2
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #systemtap
naveen has joined #systemtap
nkambo__ has quit [Ping timeout: 240 seconds]
nkambo__ has joined #systemtap
orivej has quit [Remote host closed the connection]
mjw has quit [Quit: Leaving]
orivej has joined #systemtap
mjw has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
eichiro has quit [Ping timeout: 260 seconds]
eichiro has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
naveen_ has joined #systemtap
naveen has quit [Ping timeout: 240 seconds]
* slowfranklin facepalm
<slowfranklin> Wrong variable in one place... It works now. :)
<slowfranklin> Another question:
<slowfranklin> how to interpret the timing output from -t to infer the overhead associated with instrumenting a process?
<slowfranklin> What unit? Hopefully not microseconds. :O
<mjw> It is machine cycles
brolley has left #systemtap [#systemtap]
<mjw> And no, I don't fully understand what that means either
<slowfranklin> rofl, I was just about to ask
<mjw> There is lots of voodoo in runtime/time.c
<mjw> I believe the idea is that cpus/cores change frequency so often that you don't want to report something in n/m-secs since that is completely dependent on which core took the hit and how "hot" it was.
<slowfranklin> So it's basically TSC and I do the math based on clock frequency to get some numbers
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
<slowfranklin> huh, sorry, lunch is ready. :) Thanks and cu!
slowfranklin has quit [Client Quit]
Humble has quit [Read error: Connection reset by peer]
Humble has joined #systemtap
orivej has joined #systemtap
pwithnall has quit [Ping timeout: 268 seconds]
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 255 seconds]
brolley has joined #systemtap
naveen_ has quit [Quit: WeeChat 1.9]
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
gromero has joined #systemtap
drsmith is now known as drsmith_away
slowfranklin has quit [Quit: slowfranklin]
wcohen has quit [Ping timeout: 240 seconds]
gila has joined #systemtap
brolley has left #systemtap [#systemtap]
scox has quit [Ping timeout: 248 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
mbenitez has quit [Quit: Leaving]
wcohen has joined #systemtap
gpiccoli has quit [Quit: Leaving]