00:06
cbzx has joined #systemtap
00:47
cbzx has quit [Ping timeout: 240 seconds]
01:05
modem_ has quit [Quit: Quitte]
01:08
<
fche >
shellie_, kprobe.function() type probes do not provide access to context variables
01:08
<
fche >
try nd_syscall.execve or syscall.execve instead
01:09
<
fche >
modem, there is now a facility for systemtap script-level global variables to be accessible from embedded-c code
01:09
<
fche >
that may serve your purposes
01:12
hpt has joined #systemtap
01:16
<
shellie_ >
fche: I used to call kprobe.function("do_execve") and be able to print the argv using argstr back in rhel5 days, do you know why this stopped working?
01:16
<
shellie_ >
thanks for the advice, btw :)
01:17
<
fche >
shellie_, couldn't have been kprobe function
01:17
<
fche >
probably kernel.function("do_execve")
01:18
<
fche >
kernel.* normally relies on dwarf debuginfo , and exposes parameters via $foo
01:20
<
shellie_ >
it's weird, because I wrote these scripts in 2012 and I could almost swear I saw them working that way, but I am not confident enough to say that was the case exactly, I must be missing something (perhaps I comitted the work in progress from back then and never updated)
01:20
<
shellie_ >
anyways, if I use nd_syscall.execve, how do I access argv?
01:20
<
fche >
could be. do try the syscall.* and nd_syscall.* variants though; they provide some helpful abstraction
01:20
<
fche >
% stap -L nd_syscall.execve
01:21
<
fche >
nd_syscall.execve name:string filename:string args:string env_str:string argstr:string
01:21
<
shellie_ >
awesome :)
01:21
<
fche >
so stap -e 'probe nd_syscall.execve { println (argstr) }'
01:23
<
fche >
stap -L is your friend
01:23
<
shellie_ >
it is indeed
01:23
<
shellie_ >
I need to refresh my knowledge of systemtap, so I'll read through the documentation again
01:24
<
shellie_ >
p.s: now that I think of it, I think I had to install the kernel-debug* packages in order to get that script with kprobe to work
01:24
<
fche >
kernel-debuginfo on fedora-ish
01:24
<
shellie_ >
btw, is there any solution to tap into inline functions within the kernel?
01:25
<
fche >
stap likes them just fine
01:25
<
fche >
probe kernel.function("some_inline") { } will try to catch inlined and non-inlined instances
01:25
<
fche >
see [man stapprobes]
01:25
<
shellie_ >
excellent
01:27
<
shellie_ >
thank you so much!
01:28
<
shellie_ >
sleep time, there's more tomorrow. :-)
02:07
cbzx has joined #systemtap
03:00
hpt has quit [Ping timeout: 252 seconds]
03:06
hpt has joined #systemtap
03:23
ananth has joined #systemtap
04:18
srikar_away has quit [Ping timeout: 272 seconds]
04:18
srikar_away has joined #systemtap
04:18
srikar_away is now known as srikar
04:18
srikar is now known as srikar_away
04:20
ravi_ has joined #systemtap
04:23
ego has joined #systemtap
04:26
cbzx has quit [Quit: Konversation terminated!]
05:01
srikar_away has quit [Ping timeout: 272 seconds]
05:02
srikar_away has joined #systemtap
05:24
srikar_away is now known as srikar
05:52
naveen has joined #systemtap
05:54
hkshaw has joined #systemtap
06:02
naveen has quit [Ping timeout: 248 seconds]
06:03
naveen has joined #systemtap
06:03
sin8h has joined #systemtap
06:08
ananth has quit [Ping timeout: 256 seconds]
06:29
sin8h has quit [Quit: Leaving.]
06:33
ananth has joined #systemtap
06:40
sin8h has joined #systemtap
06:58
naveen1 has joined #systemtap
07:00
naveen has quit [Ping timeout: 260 seconds]
07:00
ravi_ has quit [Ping timeout: 240 seconds]
07:03
lzap has quit [*.net *.split]
07:03
modem has quit [*.net *.split]
07:03
tonyj has quit [*.net *.split]
07:04
tonyj has joined #systemtap
07:04
modem has joined #systemtap
07:05
lzap has joined #systemtap
07:08
sin8h has quit [Quit: Leaving.]
07:20
ego has quit [Ping timeout: 272 seconds]
07:38
sin8h has joined #systemtap
07:41
ego has joined #systemtap
07:51
ravi_ has joined #systemtap
08:28
wakatana2 has joined #systemtap
09:14
naveen has joined #systemtap
09:14
ravi_ has quit [Ping timeout: 260 seconds]
09:14
ravi__ has joined #systemtap
09:15
naveen1 has quit [Ping timeout: 264 seconds]
09:16
lzap has quit [Changing host]
09:16
lzap has joined #systemtap
09:16
tonyj has quit [Changing host]
09:16
tonyj has joined #systemtap
09:25
zodbot has quit [Disconnected by services]
09:37
zodbot has joined #systemtap
09:38
sin8h has quit [Quit: Leaving.]
09:49
naveen1 has joined #systemtap
09:49
naveen has quit [Ping timeout: 256 seconds]
10:08
sin8h has joined #systemtap
10:19
hkshaw has quit [Ping timeout: 256 seconds]
10:32
naveen1 has quit [Quit: Leaving.]
10:36
sin8h has quit [Quit: Leaving.]
10:40
hpt has quit [Ping timeout: 248 seconds]
10:46
sin8h has joined #systemtap
10:57
hpt has joined #systemtap
11:23
sin8h has quit [Quit: Leaving.]
11:29
ravi__ has quit [Remote host closed the connection]
11:39
hkshaw has joined #systemtap
12:04
mjw has joined #systemtap
12:24
ego has quit [Ping timeout: 240 seconds]
12:32
wcohen has quit [Remote host closed the connection]
12:51
ravi_ has joined #systemtap
13:06
ravi_ has quit [Remote host closed the connection]
13:18
hpt has quit [Ping timeout: 250 seconds]
13:30
ravi_ has joined #systemtap
13:55
wcohen has joined #systemtap
13:58
nkambo has joined #systemtap
14:02
nkambo1 has joined #systemtap
14:05
nkambo has quit [Ping timeout: 256 seconds]
14:07
drsmith has joined #systemtap
14:21
naveen has joined #systemtap
14:52
brolley has joined #systemtap
15:08
srikar is now known as srikar_away
15:16
Humble has joined #systemtap
15:39
ananth has quit [Quit: Leaving]
16:02
srikar_away is now known as srikar
16:18
naveen has quit [Quit: Leaving.]
16:18
ravi_ has quit [Remote host closed the connection]
16:19
naveen has joined #systemtap
17:07
naveen has quit [Quit: Leaving.]
17:09
srikar is now known as srikar_away
19:19
mjw has quit [Quit: Leaving]
19:29
hkshaw has quit [Read error: Connection reset by peer]
19:46
hkshaw has joined #systemtap
20:00
hkshaw has quit [Read error: Connection reset by peer]
20:05
mjw has joined #systemtap
20:18
hkshaw has joined #systemtap
20:19
hkshaw has quit [Read error: Connection reset by peer]
20:36
hkshaw has joined #systemtap
21:26
wcohen has quit [Ping timeout: 256 seconds]
22:15
wcohen has joined #systemtap
22:37
irker814 has joined #systemtap
22:37
<
irker814 >
systemtap: mcermak systemtap.git:refs/heads/master * release-2.9-343-g33fb83a / testsuite/systemtap.stress/parallel_exec.exp: Fix PR19639 by updating the parallel_exec.exp testcase.
http://tinyurl.com/grk57es
22:49
cbzx has joined #systemtap
22:56
cbzx has quit [Quit: Konversation terminated!]
22:59
drsmith has left #systemtap [#systemtap]
23:07
mjw has quit [Quit: Leaving]
23:16
brolley has left #systemtap [#systemtap]
23:19
przemoc has quit [Ping timeout: 240 seconds]
23:23
przemoc has joined #systemtap