| 1 |
#! stap -u -p2 |
| 2 |
|
| 3 |
function trace (n) { return 0 } |
| 4 |
|
| 5 |
# multiple independent derived probes using the "same" variable |
| 6 |
# (this used to crash before we deep-copied the body) |
| 7 |
|
| 8 |
probe begin, begin, begin |
| 9 |
{ |
| 10 |
base_num = 10 |
| 11 |
trace(base_num) |
| 12 |
} |