From 7f4d89e6f49fef4d813aaeaf2988adf8e0f43dd7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Sep 2005 15:36:19 +0200 Subject: [PATCH] [PATCH] blkparse: more stopwatch cleanups --- blkparse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blkparse.c b/blkparse.c index 4da4e6d..c9b3759 100644 --- a/blkparse.c +++ b/blkparse.c @@ -1167,10 +1167,10 @@ static void find_genesis(void) } } -static inline int check_stopwatch(struct trace *t) +static inline int check_stopwatch(struct blk_io_trace *bit) { - if (t->bit->time < stopwatch_end && - t->bit->time >= stopwatch_start) + if (bit->time < stopwatch_end && + bit->time >= stopwatch_start) return 0; return 1; @@ -1192,9 +1192,9 @@ static int sort_entries(void) if (verify_trace(bit)) continue; - t->bit->time -= genesis_time; + bit->time -= genesis_time; - if (check_stopwatch(t)) { + if (check_stopwatch(bit)) { bit_free(bit); t_free(t); continue; -- 2.25.1