Re: [RFC PATCH 2/2] tracing: Record and show boot ID in last_boot_info
From: Steven Rostedt
Date: Thu May 21 2026 - 12:44:22 EST
On Thu, 21 May 2026 23:57:16 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> @@ -4804,6 +4806,7 @@ struct trace_mod_entry {
> struct trace_scratch {
> unsigned int clock_id;
> unsigned long text_addr;
> + u8 boot_id[UUID_SIZE];
> unsigned long nr_entries;
> struct trace_mod_entry entries[];
> };
I just don't like wasting scratch space if boot_id isn't defined. But I
can't figure out a way to optionally have it there without wasting space
anyway.
If the get_boot_id() is accepted by the random folks, then I'm fine with
this change.
-- Steve