Re: [PATCH 3/3] function-graph: ignore times across schedule

From: Ingo Molnar
Date: Tue Mar 24 2009 - 09:59:27 EST


* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> From: Steven Rostedt <srostedt@xxxxxxxxxx>
>
> Impact: more accurate timings
>
> The current method of function graph tracing does not take into
> account the time spent when a task is not running. This shows functions
> that call schedule have increased costs:
>
> 3) + 18.664 us | }
> ------------------------------------------
> 3) <idle>-0 => kblockd-123
> ------------------------------------------
>
> 3) | finish_task_switch() {
> 3) 1.441 us | _spin_unlock_irq();
> 3) 3.966 us | }
> 3) ! 2959.433 us | }
> 3) ! 2961.465 us | }

dunno - i actually like how it shows the _real_ elapsed time. Why is
this wrong?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/