]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 6 Oct 2017 19:10:55 +0000 (15:10 -0400)
commitaaecaa0b5f31794f1711247da4b5883a6ff98163
tree61385397ea6a05ded963f770ac6806a0234b616b
parent6171a0310a06a7a0cb83713fa7068bdd4192de19
tracing: Prepare to add preempt and irq trace events

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>
kernel/trace/trace_irqsoff.c