Messages in this thread | | | Date | Sun, 20 Nov 2016 14:24:05 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend |
| |
On Sat, 19 Nov 2016, Joel Fernandes wrote:
> I am planning to add boot clock as a trace clock that can account suspend time > during tracing, however ktime_get_with_offset throws a warning as the > clocksource is attempted to be accessed in suspend.
ktime_get_with_offset() cannot be used as trace clock at all because it can life lock in NMI context. That's why we have ktime_get_mono_fast().
Thanks,
tglx
| |