Re: [RFC PATCH 2/2] tracing: Record and show boot ID in last_boot_info
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2026-06-01 04:38:31
Also in:
lkml
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2026-06-01 04:38:31
Also in:
lkml
On Thu, 28 May 2026 16:36:33 -0400 Steven Rostedt [off-list ref] wrote:
On Sun, 24 May 2026 10:44:39 +0900 Masami Hiramatsu (Google) [off-list ref] wrote:quoted
quoted
If the get_boot_id() is accepted by the random folks, then I'm fine with this change.Yeah, BTW, Sashiko found this can be initialized before we get enough entropy for random seed. Maybe we need one more delay.Well, maybe for adding the boot_id later, but the code that initializes the buffers needs to stay early. With the backup instance, the persistent ring buffer can restart tracing immediately.
Agreed, so the buffer will be made in early stage without initializing the boot_id field, and it will be updated when user reads the boot_id from kernel. Anyway, without reading boot_id from user space, it is meaningless. Thank you, -- Masami Hiramatsu (Google) [off-list ref]