Debian Codegraph @

testsuite/parseko/perf01.stp

raw
1 #! stap -p1
2
3 # bad counter id
4 global x
5 probe perf.hw.cpu_cycles.process("/bin/ls").counter("b") {}
6 probe process("/bin/ed").function("main")
7 {
8 y = @perf(1)
9 }