mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![Beau Belgrave](/assets/img/avatar_default.png)
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>
5 lines
130 B
Makefile
5 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
|