Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === TEST 6: abort() in timer.profile
- --- stap
- global rest = 3
- probe timer.profile {
- id = rest--;
- if (id <= 0) {
- abort();
- }
- printf("fire %d!\n", id);
- }
- --- out
- fire 3!
- fire 2!
- fire 1!
- --- no_dyninst
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement