| 1 |
#! stap -gp4 |
| 2 |
|
| 3 |
// build-test the logging tapset functions |
| 4 |
|
| 5 |
probe begin { |
| 6 |
log("log") |
| 7 |
warn("warn") |
| 8 |
exit() |
| 9 |
error("error") |
| 10 |
stp_print_binary(1, 0, 0, 0, 0) |
| 11 |
// ftrace() tested in logging-embedded2.stp |
| 12 |
printk(0,"Zoink! The paper tape punch is burning chads!") |
| 13 |
} |