????
| Current Path : /usr/share/systemtap/examples/io/ |
| Current File : //usr/share/systemtap/examples/io/mbrwatch.stp |
#!/usr/bin/stap
probe ioblock.request {
if (bdev==bdev_contains && sector<4) {
printf("device %s sector %d %s, process %s[%d]\n",
devname, sector, (rw==BIO_READ ? "read":"write"), execname(), pid())
print_backtrace()
}
}