| 1 |
#! stap -p4 |
| 2 |
|
| 3 |
probe stap.pass0, stap.pass0.end, stap.pass1a, stap.pass1b, |
| 4 |
stap.pass1.end, stap.pass2, stap.pass2.end, stap.pass3, |
| 5 |
stap.pass3.end, stap.pass4, stap.pass4.end, stap.pass5, |
| 6 |
stap.pass5.end, stap.pass6, stap.pass6.end |
| 7 |
{ |
| 8 |
printf("%p\n", session) |
| 9 |
} |
| 10 |
|
| 11 |
probe stap.cache_clean |
| 12 |
{ |
| 13 |
printf("%s\n", path) |
| 14 |
} |
| 15 |
|
| 16 |
probe stap.cache_add_mod, stap.cache_add_src, stap.cache_add_nss ? |
| 17 |
{ |
| 18 |
printf("%s, %s\n", source_path, dest_path) |
| 19 |
} |
| 20 |
|
| 21 |
probe stap.cache_get |
| 22 |
{ |
| 23 |
printf("%s, %s\n", source_path, module_path) |
| 24 |
} |
| 25 |
|
| 26 |
probe stap.system |
| 27 |
{ |
| 28 |
printf("%s\n", command) |
| 29 |
} |
| 30 |
|
| 31 |
probe stap.system.spawn |
| 32 |
{ |
| 33 |
printf("%d, %d\n", ret, pid) |
| 34 |
} |
| 35 |
|
| 36 |
probe stap.system.return |
| 37 |
{ |
| 38 |
printf("%d\n", ret) |
| 39 |
} |
| 40 |
|
| 41 |
probe staprun.insert_module |
| 42 |
{ |
| 43 |
printf("%s\n", path) |
| 44 |
} |
| 45 |
|
| 46 |
probe staprun.remove_module |
| 47 |
{ |
| 48 |
printf("%s\n", name) |
| 49 |
} |
| 50 |
|
| 51 |
probe staprun.send_control_message |
| 52 |
{ |
| 53 |
printf("%d, %p, %d\n", type, data, len) |
| 54 |
} |