diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2008-06-11 11:12:52 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-07-03 15:21:12 +0400 |
commit | 02c62304e6af60f1963695c6bc1bbffe619aa585 (patch) | |
tree | 6668092ab6514981926f30ec7f9bab262bfd281b /include | |
parent | 7b679138b3237a9a3d45a4fda23a58ac79cd279c (diff) | |
download | linux-02c62304e6af60f1963695c6bc1bbffe619aa585.tar.xz |
Added in user-injected messages into blk traces
This allows a user to annotate the blk trace stream: writing a suitable
message to {/sys/kernel/debug}/block/<dsf>/msg will have it propagated
into the trace stream.
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blktrace_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index e3ef903aae88..d084b8d227a5 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h @@ -129,6 +129,7 @@ struct blk_trace { u32 dev; struct dentry *dir; struct dentry *dropped_file; + struct dentry *msg_file; atomic_t dropped; }; |