On Tue, 13 May 2025 20:32:37 -0400
Steven Rostedt <[email protected]> wrote:

> @@ -9628,6 +9636,14 @@ static void setup_trace_scratch(struct trace_array *tr,
>  
>       /* Scan modules to make text delta for modules. */
>       module_for_each_mod(make_mod_delta, tr);
> +
> +     /* Set trace_clock as the same of the previous boot. */
> +     if (tscratch->clock_id != tr->clock_id) {
> +             if (tracing_set_clock(tr, 
> trace_clocks[tscratch->clock_id].name) < 0) {
> +                     pr_info("the previous trace_clock info is not valid.");
> +                     goto reset;
> +             }
> +     }
>       return;
>   reset:
>       /* Invalid trace modules */


Hmm, somehow I got your other patch in here :-D

-- Steve

Reply via email to