Re: [PATCH v2 5/5] ftrace: Use preemption model accessors for trace header printout

2021-11-10 Thread Steven Rostedt
On Wed, 10 Nov 2021 20:24:48 + Valentin Schneider 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 > --- > kernel/trace/trace.c | 14 +

[PATCH v2 5/5] ftrace: Use preemption model accessors for trace header printout

2021-11-10 Thread Valentin Schneider
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 --- kernel/trace/trace.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a