Re: [PATCH 3/6] perf record: add time-of-day option

Peter Zijlstra
2011-03-01T15:59:26Z

On Tue, 2011-03-01 at 08:41 -0700, David Ahern wrote:

> realtime-clock counter is created with a period N. How do you correlate
> perf_clock to time-of-day until now + N?

You scan fwd? Since its at most N time ahead you're scanning fwd its
still constant time.

Thing is, I'm really not convinced this is a very useful ioctl() in
generic, and ioctl()s really need a good justification to add.