summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKeith Busch2014-04-28 20:30:52 +0200
committerMatthew Wilcox2014-05-05 16:41:26 +0200
commit3291fa57cb1b004c1a4823beb28b5cc72555f1a5 (patch)
tree027fa1d510238ddd18d6c5b2bced5b5f5c585088 /block
parentNVMe: Protect against badly formatted CQEs (diff)
downloadkernel-qcow2-linux-3291fa57cb1b004c1a4823beb28b5cc72555f1a5.tar.gz
kernel-qcow2-linux-3291fa57cb1b004c1a4823beb28b5cc72555f1a5.tar.xz
kernel-qcow2-linux-3291fa57cb1b004c1a4823beb28b5cc72555f1a5.zip
NVMe: Add tracepoints
Adding tracepoints for bio_complete and block_split into nvme to help with gathering IO info using blktrace and blkparse. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index a0e3096c4bb5..c488b55dddd7 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -43,6 +43,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_split);
EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug);
DEFINE_IDA(blk_queue_ida);