brintos

brintos / linux-shallow public Read only

0
0
Text · 658 B · 5dc08b5 Raw
24 lines · c
1/* Copyright (c) 2016 Facebook2 *3 * This program is free software; you can redistribute it and/or4 * modify it under the terms of version 2 of the GNU General Public5 * License as published by the Free Software Foundation.6 */7#include "vmlinux.h"8#include <bpf/bpf_helpers.h>9 10/* from /sys/kernel/tracing/events/task/task_rename/format */11SEC("tracepoint/task/task_rename")12int prog(struct trace_event_raw_task_rename *ctx)13{14	return 0;15}16 17/* from /sys/kernel/tracing/events/fib/fib_table_lookup/format */18SEC("tracepoint/fib/fib_table_lookup")19int prog2(struct trace_event_raw_fib_table_lookup *ctx)20{21	return 0;22}23char _license[] SEC("license") = "GPL";24