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
parentblktrace: port to tracepoints (diff)
downloadlinux-0bfc24559d7945506184d86739fe365a181f06b7.tar.xz
linux-0bfc24559d7945506184d86739fe365a181f06b7.zip
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 060859c69092..df99c882b807 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;