diff options
Diffstat (limited to 'tools/perf/examples/bpf/hello.c')
-rw-r--r-- | tools/perf/examples/bpf/hello.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/examples/bpf/hello.c b/tools/perf/examples/bpf/hello.c new file mode 100644 index 000000000000..cf3c2fdc7f79 --- /dev/null +++ b/tools/perf/examples/bpf/hello.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +int syscall_enter(openat)(void *args) +{ + puts("Hello, world\n"); + return 0; +} + +license(GPL); |