Disk Trace Tools
Linux Disk Trace Buffer
-
Kernel Modifications
Loading the DTB module
- To load the module:
- Redhat 7.1: insmod dtb
- Redhat 7.0 and 6.2: insmod /lib/modules/2.4.0-test9/kernel/drivers/dtb/dtb.o
- To unload the module: rmmod dtb
Using the DTB module
- Load the module. Do this
the first time after you install it.
- Start dtbd in the background. This program can be used to continuously read and save a trace to
disk. If used, the trace should be saved to a different physical disk
than the one being traced, so as not to bias the results.
- Start toggleTracing for the device that you're interested in. This program is used to start and stop tracing on a specific device.
- dtbprinter can be used
to print a trace after it has been collected.
- dtb.h is required for all
of the preceding programs.
|