This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
For example:
stap ioblock_script.stp
------ ioblock_script.stp ---- #! stap
probe begin { printf("DEVNAME\tSECTOR\tRW\n") } probe ioblock.request { printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw)) } probe ioblock.end { printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw)) }
Thang
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |