aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorEelco Chaudron <[email protected]>2020-05-12 11:04:40 +0200
committerDaniel Borkmann <[email protected]>2020-05-13 10:29:54 +0200
commitfd9eef1a132d1974405c3ebf9d5688ec5c51da94 (patch)
tree0843535343ed67d8743ad0df18e895d77f801209 /tools/perf/scripts/python/syscall-counts.py
parent309b81f0fdc4209d998bc63f0da52c2e96340d4e (diff)
libbpf: Fix probe code to return EPERM if encountered
When the probe code was failing for any reason ENOTSUP was returned, even if this was due to not having enough lock space. This patch fixes this by returning EPERM to the user application, so it can respond and increase the RLIMIT_MEMLOCK size. Signed-off-by: Eelco Chaudron <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/158927424896.2342.10402475603585742943.stgit@ebuild
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions