☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
semko
/
perf04.stp
☽
☼
testsuite/semko/perf04.stp
code
plain
raw
1
#! stap -u -p2
2
3
global x
4
5
probe perf.hw.cpu_cycles.process("/bin/ls").counter("b") {}
6
7
probe process("stap").function("main")
8
{
9
# wrong process
10
x = @perf("b")
11
}