aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2020-05-15 10:11:17 +0000
committerAlexei Starovoitov <[email protected]>2020-05-15 15:10:36 +0000
commit47cc0ed574abcbbde0cf143ddb21a0baed1aa2df (patch)
treeb8872b7cca31323beb60b824bbd073bd5b34197c /tools/perf/scripts/python
parentbpf: Restrict bpf_probe_read{, str}() only to archs where they work (diff)
downloadkernel-47cc0ed574abcbbde0cf143ddb21a0baed1aa2df.tar.gz
kernel-47cc0ed574abcbbde0cf143ddb21a0baed1aa2df.zip
bpf: Add bpf_probe_read_{user, kernel}_str() to do_refine_retval_range
Given bpf_probe_read{,str}() BPF helpers are now only available under CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE, we need to add the drop-in replacements of bpf_probe_read_{kernel,user}_str() to do_refine_retval_range() as well to avoid hitting the same issue as in 849fa50662fbc ("bpf/verifier: refine retval R0 state for bpf_get_stack helper"). Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions