File tree Expand file tree Collapse file tree
tools/testing/selftests/bpf/progs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66#include <bpf/bpf_tracing.h>
77
88#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
9- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 )) && __clang_major__ >= 18
9+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
10+ defined(__TARGET_ARCH_s390 )) && __clang_major__ >= 18
1011const volatile int skip = 0 ;
1112#else
1213const volatile int skip = 1 ;
Original file line number Diff line number Diff line change 55#include "bpf_misc.h"
66
77#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
8- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || defined(__TARGET_ARCH_arm )) && \
8+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
9+ defined(__TARGET_ARCH_arm ) || defined(__TARGET_ARCH_s390 )) && \
910 __clang_major__ >= 18
1011
1112SEC ("socket" )
Original file line number Diff line number Diff line change 55#include "bpf_misc.h"
66
77#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
8- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || defined(__TARGET_ARCH_arm )) && \
8+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
9+ defined(__TARGET_ARCH_arm ) || defined(__TARGET_ARCH_s390 )) && \
910 __clang_major__ >= 18
1011
1112SEC ("socket" )
Original file line number Diff line number Diff line change 55#include "bpf_misc.h"
66
77#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
8- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || defined(__TARGET_ARCH_arm )) && \
8+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
9+ defined(__TARGET_ARCH_arm ) || defined(__TARGET_ARCH_s390 )) && \
910 __clang_major__ >= 18
1011
1112SEC ("socket" )
Original file line number Diff line number Diff line change 55#include "bpf_misc.h"
66
77#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
8- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || defined(__TARGET_ARCH_arm )) && \
8+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
9+ defined(__TARGET_ARCH_arm ) || defined(__TARGET_ARCH_s390 )) && \
910 __clang_major__ >= 18
1011
1112SEC ("socket" )
Original file line number Diff line number Diff line change 55#include "bpf_misc.h"
66
77#if (defined(__TARGET_ARCH_arm64 ) || defined(__TARGET_ARCH_x86 ) || \
8- (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || defined(__TARGET_ARCH_arm )) && \
8+ (defined(__TARGET_ARCH_riscv ) && __riscv_xlen == 64 ) || \
9+ defined(__TARGET_ARCH_arm ) || defined(__TARGET_ARCH_s390 )) && \
910 __clang_major__ >= 18
1011
1112SEC ("socket" )
You can’t perform that action at this time.
0 commit comments