diff options
| author | Ilya Leoshkevich <[email protected]> | 2020-09-29 22:18:14 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-09-29 16:28:34 -0700 |
| commit | 6458bde368cee77e798d05cccd2316db4d748c41 (patch) | |
| tree | bd5993944069c840f8d1af6cf230c3d1101b9745 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c810b31ecb036b94629726d6219ad21b0c7a64a2 (diff) | |
selftests/bpf: Fix endianness issues in sk_lookup/ctx_narrow_access
This test makes a lot of narrow load checks while assuming little
endian architecture, and therefore fails on s390.
Fix by introducing LSB and LSW macros and using them to perform narrow
loads.
Fixes: 0ab5539f8584 ("selftests/bpf: Tests for BPF_SK_LOOKUP attach point")
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions