diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2021-05-14 22:55:34 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-05-15 02:11:09 +0300 |
| commit | 513f485ca5163c6cba869602d076a8e2f04d1ca1 (patch) | |
| tree | ca3ca0fd649d3f588092f24b90f83acc8c2dbb6f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c1cccec9c63637c4c5ee0aa2da2850d983c19e88 (diff) | |
| download | linux-513f485ca5163c6cba869602d076a8e2f04d1ca1.tar.xz | |
libbpf: Reject static entry-point BPF programs
Detect use of static entry-point BPF programs (those with SEC() markings) and
emit error message. This is similar to
c1cccec9c636 ("libbpf: Reject static maps") but for BPF programs.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210514195534.1440970-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
