summaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-26 11:59:56 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-26 13:04:35 +0100
commit0bfc24559d7945506184d86739fe365a181f06b7 (patch)
tree5c152128faac7080f4802ce03d1c6b6bc7173227 /fs/bio.c
parent5f3ea37c7716db4e894a480e0c18b24399595b6b (diff)
downloadop-kernel-dev-0bfc24559d7945506184d86739fe365a181f06b7.zip
op-kernel-dev-0bfc24559d7945506184d86739fe365a181f06b7.tar.gz
blktrace: port to tracepoints, update
Port to the new tracepoints API: split DEFINE_TRACE() and DECLARE_TRACE() sites. Spread them out to the usage sites, as suggested by Mathieu Desnoyers. Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'fs/bio.c')
-rw-r--r--fs/bio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bio.c b/fs/bio.c
index 060859c..df99c88 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -29,6 +29,8 @@
#include <trace/block.h>
#include <scsi/sg.h> /* for struct sg_iovec */
+DEFINE_TRACE(block_split);
+
static struct kmem_cache *bio_slab __read_mostly;
static mempool_t *bio_split_pool __read_mostly;
OpenPOWER on IntegriCloud