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 <[email protected]>
Acked-by: Mathieu Desnoyers <[email protected]>
This commit is contained in:
Ingo Molnar 2008-11-26 11:59:56 +01:00
commit 0bfc24559d
6 changed files with 74 additions and 34 deletions

View file

@ -52,6 +52,8 @@ struct dm_target_io {
union map_info info;
};
DEFINE_TRACE(block_bio_complete);
union map_info *dm_get_mapinfo(struct bio *bio)
{
if (bio && bio->bi_private)