block: export block_unplug tracepoint
authorNeilBrown <neilb@suse.de>
Fri, 14 Dec 2012 19:49:27 +0000 (20:49 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Dec 2012 19:49:27 +0000 (20:49 +0100)
This allows stacked devices (like md/raid5) to provide blktrace
tracing, including unplug events.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c

index 473015ee28a27723457b87b8b9e149b795d46e0c..c973249d68cda01e0c7889ae8708e4da0f9ca4d2 100644 (file)
@@ -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);