diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-26 05:59:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-26 07:04:35 -0500 |
commit | 0bfc24559d7945506184d86739fe365a181f06b7 (patch) | |
tree | 5c152128faac7080f4802ce03d1c6b6bc7173227 /fs | |
parent | 5f3ea37c7716db4e894a480e0c18b24399595b6b (diff) |
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')
-rw-r--r-- | fs/bio.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,8 @@ | |||
29 | #include <trace/block.h> | 29 | #include <trace/block.h> |
30 | #include <scsi/sg.h> /* for struct sg_iovec */ | 30 | #include <scsi/sg.h> /* for struct sg_iovec */ |
31 | 31 | ||
32 | DEFINE_TRACE(block_split); | ||
33 | |||
32 | static struct kmem_cache *bio_slab __read_mostly; | 34 | static struct kmem_cache *bio_slab __read_mostly; |
33 | 35 | ||
34 | static mempool_t *bio_split_pool __read_mostly; | 36 | static mempool_t *bio_split_pool __read_mostly; |