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.
8 #include <bpf/bpf_helpers.h>
10 /* from /sys/kernel/tracing/events/task/task_rename/format */
11 SEC("tracepoint/task/task_rename")
12 int prog(struct trace_event_raw_task_rename *ctx)
17 /* from /sys/kernel/tracing/events/fib/fib_table_lookup/format */
18 SEC("tracepoint/fib/fib_table_lookup")
19 int prog2(struct trace_event_raw_fib_table_lookup *ctx)
23 char _license[] SEC("license") = "GPL";