Repository navigation
How to attach more progs that in one obj ? #1743
Answered
by
florianl
cheng-zhongliang
asked this question in
Q&A
|
just like this in C language: { |
Answered by
florianl
Apr 8, 2025
Replies: 1 comment 1 reply
|
|
1 reply
Answer selected by
cheng-zhongliang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bpf_object__for_each_program()seems to be a macro specific to libbpf. This Go package does not provide such an API. As an alternative you can iterate overProgramsin a loaded Collection to achieve a similar behavior.