Commit c10c0dc6 authored by Brendan Gregg's avatar Brendan Gregg

runqlat.bt: remove if semicolon

parent 021b9ea1
...@@ -33,12 +33,12 @@ tracepoint:sched:sched_switch ...@@ -33,12 +33,12 @@ tracepoint:sched:sched_switch
$TASK_RUNNING = 0; // from linux/sched.h, workaround for #153 $TASK_RUNNING = 0; // from linux/sched.h, workaround for #153
if (args->prev_state == $TASK_RUNNING) { if (args->prev_state == $TASK_RUNNING) {
@qtime[args->prev_pid] = nsecs; @qtime[args->prev_pid] = nsecs;
}; }
$ns = @qtime[args->next_pid]; $ns = @qtime[args->next_pid];
if ($ns) { if ($ns) {
@usecs = hist((nsecs - $ns) / 1000); @usecs = hist((nsecs - $ns) / 1000);
}; }
delete(@qtime[args->next_pid]); 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