mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-13 21:09:07 +08:00
include: fix BPF_CALL_REL definition
Fix our Github-specific definition of BPF_CALL_REL macro. It was missing the code part. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
f4e9b606f4
commit
fb98d4bd25
@@ -39,6 +39,7 @@
|
|||||||
|
|
||||||
#define BPF_CALL_REL(DST) \
|
#define BPF_CALL_REL(DST) \
|
||||||
((struct bpf_insn) { \
|
((struct bpf_insn) { \
|
||||||
|
.code = BPF_JMP | BPF_CALL, \
|
||||||
.dst_reg = 0, \
|
.dst_reg = 0, \
|
||||||
.src_reg = BPF_PSEUDO_CALL, \
|
.src_reg = BPF_PSEUDO_CALL, \
|
||||||
.off = 0, \
|
.off = 0, \
|
||||||
|
|||||||
Reference in New Issue
Block a user