git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[sfrench/cifs-2.6.git]
/
samples
/
bpf
/
xdp_monitor.bpf.c
diff --git a/samples/bpf/xdp_monitor.bpf.c
b/samples/bpf/xdp_monitor.bpf.c
new file mode 100644
(file)
index 0000000..
cfb41e2
--- /dev/null
+++ b/
samples/bpf/xdp_monitor.bpf.c
@@ -0,0
+1,8
@@
+// SPDX-License-Identifier: GPL-2.0
+/* Copyright(c) 2017-2018 Jesper Dangaard Brouer, Red Hat Inc.
+ *
+ * XDP monitor tool, based on tracepoints
+ */
+#include "xdp_sample.bpf.h"
+
+char _license[] SEC("license") = "GPL";