tracing: Inline tracing_gen_ctx_flags()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 25 Jan 2021 19:45:09 +0000 (20:45 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Feb 2021 22:02:06 +0000 (17:02 -0500)
commit0c02006e6f5b0a3e73499bbf5943d9174c5ed640
treea2b44d834bdf83e2eaf1ee0bf5b75c9736dcceb8
parent36590c50b2d0729952511129916beeea30d31d81
tracing: Inline tracing_gen_ctx_flags()

Inline tracing_gen_ctx_flags(). This allows to have one ifdef
CONFIG_TRACE_IRQFLAGS_SUPPORT.

This requires to move `trace_flag_type' so tracing_gen_ctx_flags() can
use it.

Link: https://lkml.kernel.org/r/20210125194511.3924915-3-bigeasy@linutronix.de
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20210125140323.6b1ff20c@gandalf.local.home
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/trace_events.h
kernel/trace/trace.c
kernel/trace/trace.h