]> git.ipfire.org Git - people/ms/linux.git/blobdiff - block/elevator.c
blktrace: port to tracepoints, update
[people/ms/linux.git] / block / elevator.c
index 530fcfe2ef075640323573fef56f67783c17675c..e5677fe4f4128a2ca0949eca672404a1b1377a4e 100644 (file)
@@ -42,6 +42,8 @@
 static DEFINE_SPINLOCK(elv_list_lock);
 static LIST_HEAD(elv_list);
 
+DEFINE_TRACE(block_rq_abort);
+
 /*
  * Merge hash stuff.
  */
@@ -53,6 +55,9 @@ static const int elv_hash_shift = 6;
 #define rq_hash_key(rq)                ((rq)->sector + (rq)->nr_sectors)
 #define ELV_ON_HASH(rq)                (!hlist_unhashed(&(rq)->hash))
 
+DEFINE_TRACE(block_rq_insert);
+DEFINE_TRACE(block_rq_issue);
+
 /*
  * Query io scheduler to see if the current process issuing bio may be
  * merged with rq.