summaryrefslogtreecommitdiff
path: root/iowatcher/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'iowatcher/main.c')
-rw-r--r--iowatcher/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iowatcher/main.c b/iowatcher/main.c
index b13f509..28ff4cb 100644
--- a/iowatcher/main.c
+++ b/iowatcher/main.c
@@ -429,9 +429,9 @@ static void read_trace_events(void)
first_record(trace);
do {
+ check_record(trace);
if (SECONDS(get_record_time(trace)) > tf->max_seconds)
continue;
- check_record(trace);
add_tput(trace, tf->tput_writes_gld, tf->tput_reads_gld);
add_iop(trace, tf->iop_gld);
add_io(trace, tf);