| 1 |
#! stap -p4 |
| 2 |
|
| 3 |
# this defines three distinct derived probes from one suffixed probe |
| 4 |
|
| 5 |
probe a = syscall.open.return { print ("1 ") } |
| 6 |
probe a += syscall.open.return { print ("2 ") } |
| 7 |
probe a = syscall.close.return { print ("3 ") } |
| 8 |
probe a.maxactive(10) { printf ("%s\n", pp()) } |