user_events: Add self-test for ftrace integration
authorBeau Belgrave <beaub@linux.microsoft.com>
Tue, 18 Jan 2022 20:43:21 +0000 (12:43 -0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 03:37:47 +0000 (22:37 -0500)
commit446640e49ec00458655e29c31e55aabd6702985d
treeb45d1047fa65055b1a2e146d6c8c204f953fc5ed
parent2467cda1b5c97a58776a8aebfa5d76543e47479d
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>
tools/testing/selftests/user_events/Makefile [new file with mode: 0644]
tools/testing/selftests/user_events/ftrace_test.c [new file with mode: 0644]
tools/testing/selftests/user_events/settings [new file with mode: 0644]