mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
c57eb47815
Add sample code for user_events typical usage to show how to register and monitor status, as well as to write out data. Link: https://lkml.kernel.org/r/20220118204326.2169-12-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>
6 lines
130 B
Makefile
6 lines
130 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += -Wl,-no-as-needed -Wall -I../../usr/include
|
|
|
|
example: example.o
|
|
example.o: example.c
|