summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorBeau Belgrave <beaub@linux.microsoft.com>2023-03-29 02:52:08 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-03-29 13:52:08 +0300
commite5a26a4048eeb9558e5c84f340a989c78db4adf4 (patch)
tree54f43d2bbfd2f00ef4e48c16a4bdb268d9ac32c8 /kernel/trace
parent80a76994b2d88161697bd92b8b6367d9040dbe2a (diff)
downloadlinux-e5a26a4048eeb9558e5c84f340a989c78db4adf4.tar.xz
tracing/user_events: Split header into uapi and kernel
The UAPI parts need to be split out from the kernel parts of user_events now that other parts of the kernel will reference it. Do so by moving the existing include/linux/user_events.h into include/uapi/linux/user_events.h. Link: https://lkml.kernel.org/r/20230328235219.203-2-beaub@linux.microsoft.com Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace_events_user.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/trace/trace_events_user.c b/kernel/trace/trace_events_user.c
index 908e8a13c675..070551480747 100644
--- a/kernel/trace/trace_events_user.c
+++ b/kernel/trace/trace_events_user.c
@@ -19,12 +19,7 @@
#include <linux/tracefs.h>
#include <linux/types.h>
#include <linux/uaccess.h>
-/* Reminder to move to uapi when everything works */
-#ifdef CONFIG_COMPILE_TEST
#include <linux/user_events.h>
-#else
-#include <uapi/linux/user_events.h>
-#endif
#include "trace.h"
#include "trace_dynevent.h"