OSDN Git Service

user_events: Add self-test for perf_event integration
authorBeau Belgrave <beaub@linux.microsoft.com>
Tue, 18 Jan 2022 20:43:23 +0000 (12:43 -0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 11 Feb 2022 03:37:59 +0000 (22:37 -0500)
commit3a6163893a9a6a90e086234ee205c1f74eeb5f84
tree6a645a1c200c881699de05620a0f25b4af246e8e
parent745bb7e683ff00e7b52e54b422fd05c58ae94e1a
user_events: Add self-test for perf_event integration

Tests perf can be attached to and written out correctly. Ensures attach
updates status bits in user programs.

Link: https://lkml.kernel.org/r/20220118204326.2169-10-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
tools/testing/selftests/user_events/perf_test.c [new file with mode: 0644]