fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
Jackson_Xing has joined #systemtap
hpt has joined #systemtap
gmg1 has quit [Ping timeout: 240 seconds]
RustJason has joined #systemtap
scox has quit [Ping timeout: 255 seconds]
sanoj has joined #systemtap
hkshaw has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RustJason has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nkambo has joined #systemtap
nkambo has quit [Remote host closed the connection]
nkambo has joined #systemtap
RustJason has joined #systemtap
pwithnall___ has joined #systemtap
groleo has joined #systemtap
groleo has quit [Client Quit]
groleo has joined #systemtap
RustJason has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RustJason has joined #systemtap
hpt has quit [Quit: Lost terminal]
RustJason has quit [Ping timeout: 240 seconds]
DuncanT has quit []
DuncanT has joined #systemtap
mjw has joined #systemtap
orivej has quit [Ping timeout: 255 seconds]
wcohen has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
hpt has joined #systemtap
mjw has quit [Read error: Connection reset by peer]
hpt has quit [Ping timeout: 255 seconds]
scox has joined #systemtap
pwithnall___ has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
pwithnall__ has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
drsmith_away is now known as drsmith
<invano> hi all, hi fche. I built some user probes for multiple archs and I have a couple on i386 built around %xmm1. However, stap "Can't parse SDT_V3 operand '%xmm1'". Apparently there is no support for register xmm1, correct?
<fche> ah interesting
<fche> would have to find out whether the kernel-provided pt_regs (at uprobe entry) includes the xmm registers
<fche> if so, stap should be able to get at that value, yeah
wcohen has joined #systemtap
<invano> mmhh cool. I need to have a look at that.
<fche> it may not be too easy -- the kernel handles floating point values Cleverly
<fche> and fwiw systemtap doesn't handle floating point values much or well; have you considered changing the sys/sdt.h marker to take integral parameters?
irker604 has joined #systemtap
<irker604> systemtap: dsmith systemtap.git:refs/heads/master * release-3.1-73-g65a4cde / session.cxx: Updated the list of tested kernel versions to include 4.11. http://tinyurl.com/mxfpq7w
<invano> Actually I'm inserting probes in glibc and for i386 some asm funcs move the argument (e.g. a char *) from stack to xmm1 with a movd. I can easily solve this by rewriting the asm in some other ways. At the same time I'm curious to check how stap handle xmm1. so I'll have a look at it when I have some free time.
<fche> for this part, see sdt_uprobe_var_expanding_visitor::build_dwarf_registers in tapsets.cxx
<fche> and sdt_uprobe_var_expanding_visitor::visit_target_symbol_arg
<fche> you could pass the stack argument pointer to the sdt marker instead of the xmm register
mjw has joined #systemtap
brolley has joined #systemtap
gmg has joined #systemtap
<invano> uh thanks fche, as usual
<fche> my pleasure, sorry not better news
tromey has joined #systemtap
gmg has quit [Ping timeout: 260 seconds]
nkambo has quit [Ping timeout: 240 seconds]
gmg has joined #systemtap
hpt has quit [Ping timeout: 245 seconds]
hkshaw has quit [Ping timeout: 240 seconds]
groleo has quit [Ping timeout: 260 seconds]
csanting has quit [Remote host closed the connection]
mjw has quit [Ping timeout: 272 seconds]
mjw has joined #systemtap
rth has joined #systemtap
csanting has joined #systemtap
mjw has quit [Ping timeout: 268 seconds]
csanting has quit [Remote host closed the connection]
gmg has quit [Remote host closed the connection]
csanting has joined #systemtap
sanoj has quit [Remote host closed the connection]
gmg has joined #systemtap
<serhei> Another stap question, haven't been able to figure this out on my own
<serhei> What's the best way to probe a target process plus all its children?
<serhei> e.g. if I do "stap -ve 'probe process.function("*") { ... } -c 'gcc whatever.c'", it only seems to capture 7 function calls (the toplevel gcc process immediately forks and does all its work in children)
<serhei> Hmm, manual page says " Typing ``stap -c CMD'' or ``stap -x PID'' restricts this to the target command and descendants", but I'm not seeing anything happen with descendants.
<fche> that script is implicitly process("/path/to/gcc").function("*") { }
<fche> so if gcc forks off cc1 and as and ld and etc., those won't be the same process("/path/go/gcc")
<serhei> Makes sense
<serhei> The 'to descendants' part probably applies when you explicitly name an .so in the process probe
<serhei> like process("/lib64/libc-2.8.so").function("....") ..
<fche> or if gcc forks itself for some reason (/bin/sh) ... it -should- work that way
drsmith is now known as drsmith_away
drsmith_away is now known as drsmith
orivej has quit [Ping timeout: 255 seconds]
mjw has joined #systemtap
mjw has quit [Ping timeout: 240 seconds]
mjw has joined #systemtap
mjw has quit [Ping timeout: 272 seconds]
scox has quit [Ping timeout: 240 seconds]
wcohen has quit [Ping timeout: 245 seconds]
mjw has joined #systemtap
orivej has joined #systemtap
drsmith is now known as drsmith_away
brolley has left #systemtap [#systemtap]
mjw has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
scox has joined #systemtap