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
hkshaw has joined #systemtap
ananth has joined #systemtap
irker844 has quit [Quit: transmission timeout]
hkshaw has quit [Quit: Leaving.]
nkambo has joined #systemtap
hchiramm has quit [Ping timeout: 244 seconds]
hchiramm has joined #systemtap
nkambo has quit [Ping timeout: 244 seconds]
nkambo has joined #systemtap
hkshaw has joined #systemtap
modem_ has quit [Ping timeout: 246 seconds]
modem_ has joined #systemtap
modem_ has quit [Changing host]
modem_ has joined #systemtap
naveen has joined #systemtap
ananth has quit [Quit: Leaving]
ananth has joined #systemtap
srikar_away is now known as srikar
hchiramm has quit [Ping timeout: 246 seconds]
mnaser has quit [Ping timeout: 246 seconds]
ananth_ has joined #systemtap
ananth has quit [Ping timeout: 276 seconds]
mnaser has joined #systemtap
nkambo has quit [Remote host closed the connection]
hchiramm has joined #systemtap
hkshaw has quit [Ping timeout: 250 seconds]
hkshaw has joined #systemtap
nkambo has joined #systemtap
przemoc has quit [Ping timeout: 252 seconds]
przemoc has joined #systemtap
sjas has joined #systemtap
hkshaw has quit [Read error: Connection reset by peer]
hkshaw has joined #systemtap
hpt has quit [Ping timeout: 260 seconds]
mjw has joined #systemtap
scox has quit [Ping timeout: 276 seconds]
nkambo has quit [Ping timeout: 246 seconds]
hkshaw has quit [Ping timeout: 260 seconds]
nkambo has joined #systemtap
nkambo has quit [Read error: Connection reset by peer]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 276 seconds]
naveen has quit [Quit: Leaving.]
hkshaw has joined #systemtap
vbernat has quit [Remote host closed the connection]
vbernat has joined #systemtap
wcohen has quit [Ping timeout: 244 seconds]
scox has joined #systemtap
drsmith has joined #systemtap
wcohen has joined #systemtap
tromey has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
srikar is now known as srikar_away
brolley has joined #systemtap
mbenitez has quit [Ping timeout: 250 seconds]
srikar_away is now known as srikar
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
tester_perf has joined #systemtap
<tester_perf>
Hello im trying to hook sys_perf_event_open calls using systemtap. I got this error http://pastebin.com/9uwLGCUH. I tried looking inside the stp files inside tapset and could not find anything related to the syscall -- is that why I'm unable to hook that?
<tester_perf>
I tried looking into the tapset of 3.0 as well but thta does not seem to have it eithre
<tester_perf>
(sorry about the typos).
<tester_perf>
Is it possible to hook sys_perf_event_open using systemtap?
<fche>
hm, I'm having no problem here
<fche>
stap -L syscall.perf_event_open
<fche>
syscall.perf_event_open name:string attr_uaddr:long pid:long cpu:long group_fd:long flags:long flags_str:string argstr:string $attr_uptr:long int $pid:long int $cpu:long int $group_fd:long int $flags:long int $ret:long int
<fche>
try also % stap -L 'kernel.function("*perf_event_open")'
<tester_perf>
ok
hkshaw has quit [Ping timeout: 260 seconds]
<tester_perf>
in both cases nothing is printed out
<fche>
ok try stap -L nd_syscall.perf_event_open
<fche>
nd_ == non-dwarf, i.e., without requiring kernel debuginfo
hkshaw has joined #systemtap
<fche>
(see [man stapprobes])
<tester_perf>
let me check that thx. using nd_ did not help though. i rechecked with sys_open to confirm and that does work.
<fche>
weird. maybe your kernel lacks that piece? try grep perf_event_open /proc/kallsyms
<tester_perf>
c0036184 W sys_perf_event_open
<tester_perf>
so the stap errors.html says "SystemTap did not understand what the event or SystemTap function foo refers to. This usually means that SystemTap could not find a match for foo in the tapset library. N refers to the line and column of the error."
<tester_perf>
do you have anything in tapset/ related to sys_perf_event_open?
<tester_perf>
I seem to have a few entries related to sys_pipe, sys_open etc but I don't see anything related to perf -- could that be the reason?
<fche>
the [nd_]syscall.perf_event_open refer to that
<fche>
hm, i386
<fche>
so stap >= version 2.8 contains syscall.perf_event_open in the tapset
<fche>
it maps to kernel.function("sys_perf_event_open")
<tester_perf>
I see
<fche>
what kernel/distro etc. are you using?
<fche>
might as well stap-report and paste the output someplace
nkambo has joined #systemtap
<tester_perf>
:q
<tester_perf>
(oops sorry)
<tester_perf>
im trying it on arm cross compiled kernel
<fche>
ahhh.
naveen has joined #systemtap
nkambo has quit [Ping timeout: 240 seconds]
nkambo has joined #systemtap
nkambo has quit [Ping timeout: 246 seconds]
nkambo has joined #systemtap
hchiramm has quit [Ping timeout: 250 seconds]
naveen has quit [Quit: Leaving.]
srikar is now known as srikar_away
mbenitez has quit [Read error: Connection reset by peer]
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
modem has quit [Ping timeout: 240 seconds]
nkambo has quit [Ping timeout: 276 seconds]
modem_ has quit [Ping timeout: 276 seconds]
wcohen has quit [Ping timeout: 276 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 25.0.92.5)]