Re: [PATCH v19 4/7] time: Add mechanism to recognize clocksource in time_get_snapshot

Zenghui Yu
2021-04-17T09:27:32Z

On 2021/3/30 22:54, Marc Zyngier wrote:
> - u64 cycles;
> - ktime_t real;
> - ktime_t raw;
> - unsigned int clock_was_set_seq;
> - u8 cs_was_changed_seq;
> + u64 cycles;
> + ktime_t real;
> + ktime_t raw;
> + enum clocksource_ids cs_id;

nit: worth adding a description for it (on top of the structure)?

> + unsigned int clock_was_set_seq;
> + u8 cs_was_changed_seq;