1 /* Copyright (c) 2016 Facebook
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of version 2 of the GNU General Public
5 * License as published by the Free Software Foundation.
7 #include <uapi/linux/bpf.h>
8 #include <bpf/bpf_helpers.h>
10 /* from /sys/kernel/debug/tracing/events/task/task_rename/format */
18 SEC("tracepoint/task/task_rename")
19 int prog(struct task_rename *ctx)
24 /* from /sys/kernel/debug/tracing/events/random/urandom_read/format */
31 SEC("tracepoint/random/urandom_read")
32 int prog2(struct urandom_read *ctx)
36 char _license[] SEC("license") = "GPL";