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

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