hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/tools/bpf/bpf_dbg.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Minimal BPF debugger
34 *
....@@ -12,7 +13,7 @@
1213 * for making a verdict when multiple simple BPF programs are combined
1314 * into one in order to prevent parsing same headers multiple times.
1415 *
15
- * More on how to debug BPF opcodes see Documentation/networking/filter.txt
16
+ * More on how to debug BPF opcodes see Documentation/networking/filter.rst
1617 * which is the main document on BPF. Mini howto for getting started:
1718 *
1819 * 1) `./bpf_dbg` to enter the shell (shell cmds denoted with '>'):
....@@ -28,7 +29,6 @@
2829 * 7) > step [-<n>, +<n>] (performs single stepping through the BPF)
2930 *
3031 * Copyright 2013 Daniel Borkmann <borkmann@redhat.com>
31
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
3232 */
3333
3434 #include <stdio.h>