diff options
author | Ilya Leoshkevich <[email protected]> | 2021-02-27 06:17:26 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-03-02 11:30:59 +0100 |
commit | 42a382a466a967dc053c73b969cd2ac2fec502cf (patch) | |
tree | 2b5bad975cf827ebda04d4b3202a4580999e90c6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 8811f4a9836e31c14ecdf79d9f3cb7c5d463265d (diff) |
selftests/bpf: Use the last page in test_snprintf_btf on s390
test_snprintf_btf fails on s390, because NULL points to a readable
struct lowcore there. Fix by using the last page instead.
Error message example:
printing fffffffffffff000 should generate error, got (361)
Fixes: 076a95f5aff2 ("selftests/bpf: Add bpf_snprintf_btf helper tests")
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions