blktrace was integrated into the mainline kernel between 2.6.16 and 2.6.17-rc1.
The target trace needs to run on a kernel at least that new.
-git://git.kernel.dk/data/git/blktrace.git
+git://git.kernel.dk/blktrace.git
If you don't have git, you can get hourly snapshots from:
excessively long mirror times, so if you have git installed, you can pull
the master tree from:
-git://git.kernel.dk/data/git/blktrace.git
+git://git.kernel.dk/blktrace.git
For browsing the repo over http and viewing history etc, you can direct
your browser to:
http://git.kernel.dk/
+A blktrace visualization tool, iowatcher, was added to blktrace in version
+1.1.0. It requires librsvg and either png2theora or ffmpeg to generate movies.
Usage
-----
[ -a action ] [ -A action mask ]
-d Use specified device. May also be given last after options.
- -r Path to mounted debugfs, defaults to /debug.
+ -r Path to mounted debugfs, defaults to /sys/kernel/debug.
-o File(s) to send output to.
-D Directory to prepend to output file names.
-k Kill running trace.
%a - Action
%c - CPU ID
- %C - Task command name
+ %C - Task command (process) name
%d - Direction (r/w)
%D - Device number
%e - Error number
-F Format specification. The individual specifiers are:
A - Remap
- B - Back merge
+ B - Bounce
C - Complete
D - Issue
+ M - Back merge
F - Front merge
G - Get request
I - Insert
- M - Both front and back merge
P - Plug
Q - Queue
R - Requeue