On Wed, 10 Nov 2021 20:24:48 +0000 Valentin Schneider <valentin.schneider@xxxxxxx> wrote: > Per PREEMPT_DYNAMIC, checking CONFIG_PREEMPT doesn't tell you the actual > preemption model of the live kernel. Use the newly-introduced accessors > instead. > > Signed-off-by: Valentin Schneider <valentin.schneider@xxxxxxx> > --- > kernel/trace/trace.c | 14 ++++---------- > 1 file changed, 4 insertions(+), 10 deletions(-) Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> -- Steve