[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120925095755.048903e8@notabene.brown>
Date: Tue, 25 Sep 2012 09:57:55 +1000
From: NeilBrown <neilb@...e.de>
To: Jens Axboe <axboe@...nel.dk>
Cc: lkml <linux-kernel@...r.kernel.org>,
Fengguang Wu <fengguang.wu@...el.com>
Subject: [PATCH] block: export trace_block_unplug
Hi Jens,
is there any chance this can be in the next merge window? I'm
adding block tracing to md and found I need another export.
Thanks,
NeilBrown
This allows stacked devices (like md/raid5) to provide blktrace
tracing, including unplug events.
Reported-by: Fengguang Wu <fengguang.wu@...el.com>
Signed-off-by: NeilBrown <neilb@...e.de>
diff --git a/block/blk-core.c b/block/blk-core.c
index 4b4dbdf..ef55ae0 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -40,6 +40,7 @@
EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_remap);
EXPORT_TRACEPOINT_SYMBOL_GPL(block_rq_remap);
EXPORT_TRACEPOINT_SYMBOL_GPL(block_bio_complete);
+EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug);
DEFINE_IDA(blk_queue_ida);
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists