UPSTREAM: tracing: Prepare to add preempt and irq trace events
authorJoel Fernandes <joelaf@google.com>
Fri, 6 Oct 2017 00:54:31 +0000 (17:54 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit3e27f9ca436e06cec3c906544d357a0a33a56164
tree9a63632b19e09bf8da207ee6594c344c96e4a391
parent493cd07122ccd876d55d29037c15317b044afba9
UPSTREAM: tracing: Prepare to add preempt and irq trace events

commit aaecaa0b5f31794f1711247da4b5883a6ff98163 upstream.

In preparation of adding irqsoff and preemptsoff enable and disable trace
events, move required functions and code to make it easier to add these events
in a later patch. This patch is just code movement and no functional change.
Link: http://lkml.kernel.org/r/20171006005432.14244-2-joelaf@google.com
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-team@android.com
Signed-off-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
kernel/trace/trace_irqsoff.c