public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: export trace_block_unplug
@ 2012-09-24 23:57 NeilBrown
  2012-09-25 12:50 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: NeilBrown @ 2012-09-24 23:57 UTC (permalink / raw)
  To: Jens Axboe; +Cc: lkml, Fengguang Wu

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]


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@intel.com>
Signed-off-by: NeilBrown <neilb@suse.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);
 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-26  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 23:57 [PATCH] block: export trace_block_unplug NeilBrown
2012-09-25 12:50 ` Jens Axboe
2012-09-26  1:27   ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox