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

Steven Rostedt rostedt at goodmis.org
Thu Nov 11 07:36:18 AEDT 2021


On Wed, 10 Nov 2021 20:24:48 +0000
Valentin Schneider <valentin.schneider at arm.com> 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 at arm.com>
> ---
>  kernel/trace/trace.c | 14 ++++----------
>  1 file changed, 4 insertions(+), 10 deletions(-)

Reviewed-by: Steven Rostedt (VMware) <rostedt at goodmis.org>

-- Steve


More information about the Linuxppc-dev mailing list