summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/syscalls.stp
blob: 68e0348aa6ecca88d013c6a9d2ba145e2f11b0dc (plain)
1
2
3
4
5
6
7
#! stap 

global count
probe kernel.function("sys_*").call {
  print (sprint(pid()) . " " . pp() . "\n")
  if (++count > 100) exit()
}