Re: Using sched_clock for mmio-trace

Andi Kleen
2007-02-17T14:56:58Z

> This is one of the reasons why we don't just use good old
> do_gettimeofday(), since it takes locks and can lead to lock recursion
> if parts of itself are probed.

do_gettimeofday doesn't take locks.

Only restriction is that you can't single step it with long
pauses between instructions.

-Andi