Debian Codegraph @

testsuite/semko/perf05.stp

raw
1 #! stap -p2
2
3 global x
4
5 probe perf.hw.cpu_cycles.process("stap").counter("a") {}
6
7 probe process("stap").function("main")
8 {
9 # wrong counter
10 x = @perf("b")
11 }