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

From
Steven Rostedt <rostedt@goodmis.org>
Date
2021-11-10 20:36:24
Also in
linux-kbuild, lkml
Reply to
Valentin Schneider, 2021-11-10
On Wed, 10 Nov 2021 20:24:48 +0000
Valentin Schneider [off-list ref] 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 <redacted>
---
 kernel/trace/trace.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve
Thread (27 messages) 27 messages, 6 authors, last reply 2021-11-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help