diff options
author | 2024-05-08 13:03:32 +0200 | |
---|---|---|
committer | 2024-05-08 09:56:59 -0700 | |
commit | 911edc69c832161b62a8ad10a6972290157a7bd3 (patch) | |
tree | 6cb2526411487c32f0356fe940e1d96e1ab69187 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: avoid UB in usages of the __imm_insn macro (diff) | |
download | wireguard-linux-911edc69c832161b62a8ad10a6972290157a7bd3.tar.xz wireguard-linux-911edc69c832161b62a8ad10a6972290157a7bd3.zip |
bpf: guard BPF_NO_PRESERVE_ACCESS_INDEX in skb_pkt_end.c
This little patch is a follow-up to:
https://lore.kernel.org/bpf/20240507095011.15867-1-jose.marchesi@oracle.com/T/#u
The temporary workaround of passing -DBPF_NO_PRESERVE_ACCESS_INDEX
when building with GCC triggers a redefinition preprocessor error when
building progs/skb_pkt_end.c. This patch adds a guard to avoid
redefinition.
Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
Cc: david.faust@oracle.com
Cc: cupertino.miranda@oracle.com
Cc: Eduard Zingerman <eddyz87@gmail.com>
Cc: Yonghong Song <yonghong.song@linux.dev>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240508110332.17332-1-jose.marchesi@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions