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 /drivers/md | |
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 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index d23fda178163..343094c3feeb 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -52,6 +52,8 @@ struct dm_target_io { | |||
52 | union map_info info; | 52 | union map_info info; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | DEFINE_TRACE(block_bio_complete); | ||
56 | |||
55 | union map_info *dm_get_mapinfo(struct bio *bio) | 57 | union map_info *dm_get_mapinfo(struct bio *bio) |
56 | { | 58 | { |
57 | if (bio && bio->bi_private) | 59 | if (bio && bio->bi_private) |