| 1 |
/* |
| 2 |
* sigusr2.stp |
| 3 |
* |
| 4 |
* Check that SIGUSR2 doesn't cause errors when not using file rotation. |
| 5 |
*/ |
| 6 |
|
| 7 |
probe begin |
| 8 |
{ |
| 9 |
println("systemtap starting probe") |
| 10 |
raise(%{ SIGUSR2 %}) |
| 11 |
} |
| 12 |
|
| 13 |
probe end |
| 14 |
{ |
| 15 |
println("systemtap ending probe") |
| 16 |
println("systemtap test success") |
| 17 |
} |
| 18 |
|