fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
neb has quit [Read error: Connection reset by peer]
neb has joined #systemtap
neb has quit [Ping timeout: 272 seconds]
neb has joined #systemtap
neb has quit [Ping timeout: 245 seconds]
neb has joined #systemtap
neb has quit [Ping timeout: 246 seconds]
hpt has joined #systemtap
yogananth has joined #systemtap
sscox has joined #systemtap
_whitelogger has joined #systemtap
neb has joined #systemtap
neb has quit [Ping timeout: 268 seconds]
irker252 has quit [Quit: transmission timeout]
neb has joined #systemtap
_whitelogger has joined #systemtap
neb has quit [Ping timeout: 245 seconds]
_whitelogger has joined #systemtap
neb has joined #systemtap
neb has quit [Ping timeout: 245 seconds]
orivej has joined #systemtap
mjw has joined #systemtap
sscox has quit [Ping timeout: 250 seconds]
hpt has quit [Ping timeout: 246 seconds]
gilfoyle has joined #systemtap
pviktori has quit [Quit: No Ping reply in 180 seconds.]
pviktori has joined #systemtap
pviktori has joined #systemtap
pviktori has quit [Changing host]
wcohen has quit [Ping timeout: 245 seconds]
<gilfoyle> I'm trying to work out how to write a script to match certain data being sent via sys_sendmsg. I've defined a probe kprobe.function("sys_sendmsg") {} and within, I've added a printf. The `buf` is not recognized as a variable, and the argstr is coming up empty. How can I find what are the right arguments to use when introspecting specific syscalls?
sscox has joined #systemtap
tromey has joined #systemtap
wcohen has joined #systemtap
yogananth has quit [Quit: Leaving]
<gilfoyle> sudo -s
<gilfoyle> 9Foxford!
<gilfoyle> ls
<gilfoyle> cd /var/log/nov
<gilfoyle> grep 545e4d85-1fe8-49cb-ae00-3ef8eb898755ls
<gilfoyle> grep 545e4d85-1fe8-49cb-ae00-3ef8eb898755 nova-sc;
<fche> hi gilfoyle
<fche> try probe syscall.sendmsg for the probe point and msg_uaddr as the way to get access to the userspace buffer pointer
<gilfoyle> list
<gilfoyle> nova-mana
<gilfoyle> openst hypervisor-list
<gilfoyle> sour/roop
<gilfoyle> openst hypervisor-list
<gilfoyle> openst hypervisor list
<fche> boy, that escalated quickly
<gilfoyle> sour/roopcd /pwd
<gilfoyle> apologies :) I had my terminal in broadcast mode
<gilfoyle> > try probe syscall.sendmsg for the probe point and msg_uaddr as the way to get access to the userspace buffer pointer
<gilfoyle> I was trying that just now
<fche> user_string() to dereference the pointer and isinstr() or regexps to find substrings
<gilfoyle> this is what I'm seeing
<gilfoyle> let me try with the user_string
orivej has quit [Ping timeout: 272 seconds]
amerey_ has joined #systemtap
<fche> msg_uaddr is only an address(pointer) so yeah you need user_string or similar
sapatel has joined #systemtap
sapatel has quit [Read error: Connection reset by peer]
sapatel has joined #systemtap
<gilfoyle> are the debuginfos strictly necessary/
<gilfoyle> ..
<gilfoyle> ...?
<gilfoyle> (the above may sound like I am impatient and/or demanding, apologies, just multitasking between various oncall tasks.. :D)
<fche> in this case it seems to be
<gilfoyle> thanks, I'll fix it
irker963 has joined #systemtap
<irker963> systemtap: sapatel systemtap.git:refs/heads/sapatel/pr23285 * release-4.1-69-g7c5b90b / bpf-translate.cxx stapbpf/bpfinterp.cxx: removed redundant string copying and added comments about validity of c_str() http://tinyurl.com/yxunm4ph
<gilfoyle> I just installed them, but it doesn't seem to have made a difference.. any idea what could be wrong here?
lindi- has quit [Ping timeout: 250 seconds]
<gilfoyle> by not made a difference, I meant it stills prompts me to install them
<gilfoyle> and the errors remain the same
lindi- has joined #systemtap
<gilfoyle> (The reason I'm not using debuginfo-install is simply because we don't have access to the debuginfo repos and hence I copied the rpms manually to the server)
orivej has joined #systemtap
<fche> my guess is you got the wrong versions
<fche> # stap-report ?
<gilfoyle> I think I found one missing package, hold on :)
<gilfoyle> kernel-debuginfo is missing. I had kernel-debug-debuginfo and kernel-debuginfo-common only
<gilfoyle> the stap-report is interesting!
mjw has quit [Ping timeout: 246 seconds]
<gilfoyle> so that didn't work either. What should I look for in the stap report?
<fche> is stap still complaining about debuginfo problems?
<fche> can you fpaste the report?
<fche> I'd look for an exact n-v-r version match for your running kernel and the auxiliary subrpms
<gilfoyle> I can paste it, but just need to obfuscate some stuff within (hostnames, users, etc)
<fche> missing kernel-debuginfo-3.10.0-693.11.6.el7.x86_64
<fche> the warning::debuginfo / error::pass2 man pages note the issue
<fche> (the kernel-debug vs kernel-debuginfo confusion)
orivej has quit [Ping timeout: 272 seconds]
gilfoyle has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap
gromero has quit [Ping timeout: 252 seconds]
khaled has joined #systemtap
gromero has joined #systemtap
irker963 has quit [Quit: transmission timeout]
irker772 has joined #systemtap
<irker772> systemtap: wcohen systemtap.git:refs/heads/wcohen/pr23478 * release-4.1-68-gcd5ff25 / bpf-translate.cxx: stapbpf PR23478:: Initial support to allow use of multi-dimensional arrays. http://tinyurl.com/yygz8yuf
khaled has quit [Quit: Konversation terminated!]
sscox has quit [Ping timeout: 258 seconds]
wcohen has quit [Ping timeout: 246 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1)]
_whitelogger has joined #systemtap
_whitelogger_ has joined #systemtap
_whitelogger_ has joined #systemtap
_whitelogger__ has joined #systemtap
_whitelogger__ has joined #systemtap
_whitelogger__ has joined #systemtap
_whitelogger___ has joined #systemtap
_whitelogger___ has joined #systemtap
_whitelogger___ has joined #systemtap
_whitelogger___ has joined #systemtap
<gilfoyle> qq, is it possible to identify if a given file descriptor is a socket or some other kind within systemtap?
<gilfoyle> qq, is it possible to identify if a given file descriptor is a socket or some other kind within systemtap?
<gilfoyle> qq, is it possible to identify if a given file descriptor is a socket or some other kind within systemtap?
<gilfoyle> qq, is it possible to identify if a given file descriptor is a socket or some other kind within systemtap?
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger has joined #systemtap
_whitelogger has joined #systemtap