Re: [PATCH v2] tracing/osnoise: Add option to align tlat threads

From: Crystal Wood

Date: Tue Apr 14 2026 - 14:36:04 EST


On Tue, 2026-04-14 at 08:03 -0400, Steven Rostedt wrote:
> I noticed that I never ran this through my tests, and I just did now,
> and it failed with:
>
> /work/build/trace/nobackup/linux-test.git/kernel/trace/trace_osnoise.c: In function ‘osnoise_workload_start’:
> /work/build/trace/nobackup/linux-test.git/kernel/trace/trace_osnoise.c:2929:23: error: ‘align_next’ undeclared (first use in this function); did you mean ‘klist_next’?
> 2929 | atomic64_set(&align_next, 0);
> | ^~~~~~~~~~
> | klist_next
> /work/build/trace/nobackup/linux-test.git/kernel/trace/trace_osnoise.c:2929:23: note: each undeclared identifier is reported only once for each function it appears in
> CC [M] drivers/net/ethernet/mellanox/mlx5/core/diag/crdump.o
> make[5]: *** [/work/build/trace/nobackup/linux-test.git/scripts/Makefile.build:289: kernel/trace/trace_osnoise.o] Error 1
> make[5]: *** Waiting for unfinished jobs....

Looks like this should be moved into tlat_var_reset().


-Crystal