Commit 37bb3893 authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #345 from iovisor/tools

runqlat.bt: remove if semicolon
parents 021b9ea1 c10c0dc6
......@@ -33,12 +33,12 @@ tracepoint:sched:sched_switch
$TASK_RUNNING = 0; // from linux/sched.h, workaround for #153
if (args->prev_state == $TASK_RUNNING) {
@qtime[args->prev_pid] = nsecs;
};
}
$ns = @qtime[args->next_pid];
if ($ns) {
@usecs = hist((nsecs - $ns) / 1000);
};
}
delete(@qtime[args->next_pid]);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment