fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
hpt has joined #systemtap
sanoj has joined #systemtap
sanoj has quit [Ping timeout: 260 seconds]
sanoj has joined #systemtap
aryehw has joined #systemtap
orivej has joined #systemtap
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #systemtap
pwithnall has joined #systemtap
pwithnall has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
mjw has joined #systemtap
orivej has joined #systemtap
hpt has quit [Ping timeout: 260 seconds]
sanoj has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 268 seconds]
gromero has joined #systemtap
orivej has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
sanoj has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
<aryehw> hello,
<aryehw> had a question regarding the cmdline_str function
<aryehw> many times it fails to give me the correct args and returns a sequence of empty strings like: "" "" "" "" ""
<aryehw> sometimes on my server the list is long too
<aryehw> is this expected and any ideas on why I am seeing this?
<aryehw> Heres's an example, when I run:
<aryehw> stap -e 'probe syscall.execve{println(name, ":", argstr);println("cmdline_str:",cmdline_str())}'
<aryehw> I can get:
<aryehw> execve:"/usr/libexec/postfix/pickup", ["pickup", "-l", "-t", "fifo", "-u"], ["MAIL_CONFIG=/etc/postfix", "MAIL_LOGTAG=postfix", "LANG=C", "GENERATION=24"]
<aryehw> cmdline_str: "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
<mjw> I believe the execve and cmdline_str arguments are for different processes.
<mjw> the execve is for the to be created process
<mjw> the cmdline_str is for the current process calling execve
<mjw> I don't know why the command line string isn't available (anymore) for the current process though.
<aryehw> execve was just an example for a probe
<aryehw> happens also with syscall.clone for example
<aryehw> stap 'probe syscall.clone{println(name, ":", argstr);println("cmdline_str:",cmdline_str())}'
<aryehw> clone:CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 0x7ffe6732a860, 0x0, 0x7fc6200719d0
<aryehw> cmdline_str: "" "" "" ""
brolley has joined #systemtap
sanoj has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
tromey has joined #systemtap
slowfranklin has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
slowfranklin has quit [Client Quit]
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
slowfranklin has quit [Quit: slowfranklin]
orivej has joined #systemtap
mjw has quit [Quit: Leaving]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1.50)]
brolley has left #systemtap [#systemtap]
wcohen has quit [Ping timeout: 240 seconds]
jlebon has quit [Ping timeout: 240 seconds]
jistone has quit [Ping timeout: 248 seconds]
jlebon has joined #systemtap
jistone has joined #systemtap
wcohen has joined #systemtap