aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2019-08-30 13:07:29 +0200
committerDaniel Borkmann <[email protected]>2019-09-03 21:01:52 +0200
commitb9632679944307f3caab183fa69a4d79ffeb40ce (patch)
treeb77888de194fbd005964c463913ca970ac18bcc5 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent504792e07a44844f24e9d79913e4a2f8373cd332 (diff)
selftests/bpf: introduce bpf_cpu_to_be64 and bpf_be64_to_cpu
test_lwt_seg6local and test_seg6_loop use custom 64-bit endianness conversion macros. Centralize their definitions in bpf_endian.h in order to reduce code duplication. This will also be useful when bpf_endian.h is promoted to an offical libbpf header. Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions