Re: [PATCH] perf trace: Use the right bpf_probe_read(_str) variant for reading user data

From: Namhyung Kim
Date: Fri Oct 20 2023 - 17:21:40 EST


On Thu, 19 Oct 2023 10:26:42 +0200, Thomas Richter wrote:
> Perf test case 111 Check open filename arg using perf trace + vfs_getname
> fails on s390. This is caused by a failing function
> bpf_probe_read() in file util/bpf_skel/augmented_raw_syscalls.bpf.c.
>
> The root cause is the lookup by address. Function bpf_probe_read()
> is used. This function works only for architectures
> with ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE.
>
> [...]

Applied to perf-tools-next, thanks!