aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2020-09-15 13:39:28 +0200
committerDaniel Borkmann <[email protected]>2020-09-19 01:01:18 +0200
commitfec47bbc10b243690f5d0ee484a0bbdee273e71b (patch)
treedb40259d9394e53727ab2328412577b4badbf1da /tools/perf/scripts/python/flamegraph.py
parentb6ed6cf4a3acdeab9aed8e0a524850761ec9b152 (diff)
selftests/bpf: Fix endianness issue in test_sockopt_sk
getsetsockopt() calls getsockopt() with optlen == 1, but then checks the resulting int. It is ok on little endian, but not on big endian. Fix by checking char instead. Fixes: 8a027dc0d8f5 ("selftests/bpf: add sockopt test that exercises sk helpers") Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions