summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/user_events/Makefile
diff options
context:
space:
mode:
authorBeau Belgrave <beaub@linux.microsoft.com>2022-01-18 23:43:21 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-02-11 06:37:47 +0300
commit446640e49ec00458655e29c31e55aabd6702985d (patch)
treeb45d1047fa65055b1a2e146d6c8c204f953fc5ed /tools/testing/selftests/user_events/Makefile
parent2467cda1b5c97a58776a8aebfa5d76543e47479d (diff)
downloadlinux-446640e49ec00458655e29c31e55aabd6702985d.tar.xz
user_events: Add self-test for ftrace integration
Tests basic functionality of registering/deregistering, status and writing data out via ftrace mechanisms within user_events. Link: https://lkml.kernel.org/r/20220118204326.2169-8-beaub@linux.microsoft.com Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/user_events/Makefile')
-rw-r--r--tools/testing/selftests/user_events/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/testing/selftests/user_events/Makefile b/tools/testing/selftests/user_events/Makefile
new file mode 100644
index 000000000000..d66c551a6fe3
--- /dev/null
+++ b/tools/testing/selftests/user_events/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS += -Wl,-no-as-needed -Wall -I../../../../usr/include
+LDLIBS += -lrt -lpthread -lm
+
+TEST_GEN_PROGS = ftrace_test
+
+TEST_FILES := settings
+
+include ../lib.mk