x86/vector,tracing: Use TRACE_EVENT_RAW for vector trace events

The vector trace events are used within the path of taking a CPU offline and
bring it back online. Normal TRACE_EVENTS have a condition that keeps them
from triggering when a CPU is offline because trace events require RCU to be
active, and RCU is not active when the CPU is offline. But this breaks the
point of having trace events in the CPU online/offline code paths.

A new TRACE_EVENT type has been created called TRACE_EVENT_RAW that can be
used when the CPU is going offline and coming back online. But these events
must use the _rcuidle() version that activates RCU while the trace event is
executing.

Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1710161402380.1973@nanos

Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2 files changed