00:10
<
linus2 >
fche: how to find all PMU name?
00:11
<
linus2 >
such as insn["find_insns"] = @perf("find_insns")
00:11
<
linus2 >
how to know all avaliable "find_insns"?
00:19
<
linus2 >
it's a user defined name?
00:23
<
linus2 >
probe perf.hw.branch_instructions.process("/usr/bin/find").counter("find_branches") {}
00:24
<
linus2 >
how to know all avaliable perf event's style of writing perf.????.process?
00:30
<
linus2 >
I found stap -l 'perf.*.*'
00:44
<
linus2 >
probe perf.hw.instructions.process("/usr/bin/find").counter("find_insns") {} means get all CPUs' counter or per CPUs' counter?
00:59
<
linus2 >
fche: when I use stap -v to run this example stp
00:59
<
linus2 >
semantic error: while resolving probe point: identifier 'process' at perf_find.stp:16:7
01:00
<
linus2 >
source: probe process("/usr/bin/find").function("visit") # generally .inline'd, thus the need for debuginfo
01:00
<
linus2 >
semantic error: no match (similar functions: _init, exit, _exit, mbsinit, _fini)
01:56
derek0883 has quit [Remote host closed the connection]
02:05
sscox has joined #systemtap
02:21
derek0883 has joined #systemtap
02:21
sscox has quit [Ping timeout: 244 seconds]
02:24
<
fche >
linus2, the syntax here is two-stage:
02:24
<
fche >
you define stap-script-level counters with the probe perf.*.counter("....") {} pseudo-probe
02:25
<
fche >
then use those counter names in the @perf("....") constructs in the uprobes
02:53
orivej has joined #systemtap
03:34
khaled has quit [Remote host closed the connection]
05:38
derek0883 has quit [Ping timeout: 240 seconds]
06:04
_whitelogger has joined #systemtap
06:22
derek0883 has joined #systemtap
06:40
_whitelogger has joined #systemtap
07:18
derek0883 has quit [Remote host closed the connection]
08:52
_whitelogger has joined #systemtap
10:23
khaled has joined #systemtap
11:21
orivej has quit [Ping timeout: 256 seconds]
11:46
<
fche >
hm, linus2, that stap script looks fragile w.r.t. versions of find(1), doesn't work for me on f32
11:47
<
fche >
hm, with debuginfo for findutils, it works better ("visit" appears to be inlined now)
11:47
<
fche >
but still yeah the test should be updated
12:33
derek0883 has joined #systemtap
13:20
derek0883 has quit [Ping timeout: 265 seconds]
13:34
_whitelogger has joined #systemtap
13:37
derek0883 has joined #systemtap
14:07
orivej has joined #systemtap
14:27
derek0883 has quit [Remote host closed the connection]
15:32
orivej has quit [Quit: No Ping reply in 180 seconds.]
15:39
orivej has joined #systemtap
16:09
orivej has quit [Ping timeout: 264 seconds]
16:25
orivej has joined #systemtap
17:46
derek0883 has joined #systemtap
18:41
orivej has quit [Quit: No Ping reply in 180 seconds.]
19:02
orivej has joined #systemtap
19:08
orivej_ has joined #systemtap
19:09
orivej has quit [Ping timeout: 256 seconds]
20:12
derek0883 has quit [Remote host closed the connection]
20:12
derek0883 has joined #systemtap
20:17
derek0883 has quit [Ping timeout: 260 seconds]
20:26
derek0883 has joined #systemtap
22:56
derek0883 has quit [Ping timeout: 260 seconds]
22:59
derek0883 has joined #systemtap
23:49
derek0883 has quit [Remote host closed the connection]
23:49
derek0883 has joined #systemtap