diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/blktrace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 7b8ec0281548..2b8e2ee7c0ef 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c | |||
@@ -887,7 +887,7 @@ static void blk_add_trace_split(void *ignore, | |||
887 | } | 887 | } |
888 | 888 | ||
889 | /** | 889 | /** |
890 | * blk_add_trace_remap - Add a trace for a remap operation | 890 | * blk_add_trace_bio_remap - Add a trace for a bio-remap operation |
891 | * @ignore: trace callback data parameter (not used) | 891 | * @ignore: trace callback data parameter (not used) |
892 | * @q: queue the io is for | 892 | * @q: queue the io is for |
893 | * @bio: the source bio | 893 | * @bio: the source bio |
@@ -899,9 +899,9 @@ static void blk_add_trace_split(void *ignore, | |||
899 | * it spans a stripe (or similar). Add a trace for that action. | 899 | * it spans a stripe (or similar). Add a trace for that action. |
900 | * | 900 | * |
901 | **/ | 901 | **/ |
902 | static void blk_add_trace_remap(void *ignore, | 902 | static void blk_add_trace_bio_remap(void *ignore, |
903 | struct request_queue *q, struct bio *bio, | 903 | struct request_queue *q, struct bio *bio, |
904 | dev_t dev, sector_t from) | 904 | dev_t dev, sector_t from) |
905 | { | 905 | { |
906 | struct blk_trace *bt = q->blk_trace; | 906 | struct blk_trace *bt = q->blk_trace; |
907 | struct blk_io_trace_remap r; | 907 | struct blk_io_trace_remap r; |
@@ -1016,7 +1016,7 @@ static void blk_register_tracepoints(void) | |||
1016 | WARN_ON(ret); | 1016 | WARN_ON(ret); |
1017 | ret = register_trace_block_split(blk_add_trace_split, NULL); | 1017 | ret = register_trace_block_split(blk_add_trace_split, NULL); |
1018 | WARN_ON(ret); | 1018 | WARN_ON(ret); |
1019 | ret = register_trace_block_remap(blk_add_trace_remap, NULL); | 1019 | ret = register_trace_block_bio_remap(blk_add_trace_bio_remap, NULL); |
1020 | WARN_ON(ret); | 1020 | WARN_ON(ret); |
1021 | ret = register_trace_block_rq_remap(blk_add_trace_rq_remap, NULL); | 1021 | ret = register_trace_block_rq_remap(blk_add_trace_rq_remap, NULL); |
1022 | WARN_ON(ret); | 1022 | WARN_ON(ret); |
@@ -1025,7 +1025,7 @@ static void blk_register_tracepoints(void) | |||
1025 | static void blk_unregister_tracepoints(void) | 1025 | static void blk_unregister_tracepoints(void) |
1026 | { | 1026 | { |
1027 | unregister_trace_block_rq_remap(blk_add_trace_rq_remap, NULL); | 1027 | unregister_trace_block_rq_remap(blk_add_trace_rq_remap, NULL); |
1028 | unregister_trace_block_remap(blk_add_trace_remap, NULL); | 1028 | unregister_trace_block_bio_remap(blk_add_trace_bio_remap, NULL); |
1029 | unregister_trace_block_split(blk_add_trace_split, NULL); | 1029 | unregister_trace_block_split(blk_add_trace_split, NULL); |
1030 | unregister_trace_block_unplug_io(blk_add_trace_unplug_io, NULL); | 1030 | unregister_trace_block_unplug_io(blk_add_trace_unplug_io, NULL); |
1031 | unregister_trace_block_unplug_timer(blk_add_trace_unplug_timer, NULL); | 1031 | unregister_trace_block_unplug_timer(blk_add_trace_unplug_timer, NULL); |