aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-04-06 16:41:55 -0700
committerDaniel Borkmann <[email protected]>2023-04-11 18:05:43 +0200
commitcbedb42a0da3bb48819b2200af4b4cb5d922c518 (patch)
tree402095837ef7b58c81bd4dbd09b4182f3817e21a /tools/perf/scripts/python/stackcollapse.py
parent971fb5057d787d0a7e7c8cb910207c82e2db920e (diff)
bpf: Avoid incorrect -EFAULT error in BPF_LOG_KERNEL mode
If verifier log is in BPF_LOG_KERNEL mode, no log->ubuf is expected and it stays NULL throughout entire verification process. Don't erroneously return -EFAULT in such case. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Lorenz Bauer <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions