Searched hist:"36 d0b6159f6a6f51f600bf1777702f7036fb9839" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_buffer.c | diff 36d0b6159f6a6f51f600bf1777702f7036fb9839 Tue Apr 28 20:21:09 CDT 2020 Andrii Nakryiko <andriin@fb.com> selftests/bpf: Disable ASAN instrumentation for mmap()'ed memory read
AddressSanitizer assumes that all memory dereferences are done against memory allocated by sanitizer's malloc()/free() code and not touched by anyone else. Seems like this doesn't hold for perf buffer memory. Disable instrumentation on perf buffer callback function.
Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200429012111.277390-10-andriin@fb.com
|