diff options
| author | Stanislav Fomichev <sdf@google.com> | 2021-05-21 06:06:53 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-05-24 22:22:09 +0300 |
| commit | f9bceaa59c5c47a8a08f48e19cbe887e500a1978 (patch) | |
| tree | 3bb06244789135bb4f40556ea6af1cae66a3f798 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ec7d6dd870d421a853ffa692d4bce5783a519342 (diff) | |
| download | linux-f9bceaa59c5c47a8a08f48e19cbe887e500a1978.tar.xz | |
libbpf: Skip bpf_object__probe_loading for light skeleton
I'm getting the following error when running 'gen skeleton -L' as
regular user:
libbpf: Error in bpf_object__probe_loading():Operation not permitted(1).
Couldn't load trivial BPF program. Make sure your kernel supports BPF
(CONFIG_BPF_SYSCALL=y) and/or that RLIMIT_MEMLOCK is set to big enough
value.
Fixes: 67234743736a ("libbpf: Generate loader program out of BPF ELF file.")
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210521030653.2626513-1-sdf@google.com
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
