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

From: Zenghui Yu
Date: Sat Apr 17 2021 - 05:27:32 EST


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;