Skip to content
Commit b427e765 authored by Xianting Tian's avatar Xianting Tian Committed by Steven Rostedt (VMware)
Browse files

tracing: Use __this_cpu_read() in trace_buffered_event_enable()



The code is executed with preemption disabled, so it's
safe to use __this_cpu_read().

Link: https://lkml.kernel.org/r/20200813112803.12256-1-tian.xianting@h3c.com

Signed-off-by: default avatarXianting Tian <tian.xianting@h3c.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 5c8c206e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment