aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorChenguang Zhao <[email protected]>2023-07-28 02:30:42 +0000
committerHuacai Chen <[email protected]>2023-07-28 02:30:42 +0000
commitde0e30bee86d0f99c696a1fea34474e556a946ec (patch)
treebc7c34dec86efcce0d033b4eecc0cf33ff556b44 /tools/perf/scripts/python/libxed.py
parentLoongArch: Fix return value underflow in exception path (diff)
downloadkernel-de0e30bee86d0f99c696a1fea34474e556a946ec.tar.gz
kernel-de0e30bee86d0f99c696a1fea34474e556a946ec.zip
LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
Currently nettrace does not work on LoongArch due to missing bpf_probe_read{,str}() support, with the error message: ERROR: failed to load kprobe-based eBPF ERROR: failed to load kprobe-based bpf According to commit 0ebeea8ca8a4d1d ("bpf: Restrict bpf_probe_read{, str}() only to archs where they work"), we only need to select CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE to add said support, because LoongArch does have non-overlapping address ranges for kernel and userspace. Cc: [email protected] # 6.1 Signed-off-by: Chenguang Zhao <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions