-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libbpf: use func name when pinning programs with LIBBPF_STRICT_SEC_NAME #1915
Conversation
Master branch: 431bfb9 |
Master branch: 431bfb9 |
5fb6d70
to
f2f6feb
Compare
Master branch: 223f903 |
f2f6feb
to
cf4a8b3
Compare
Master branch: 32fa0ef |
cf4a8b3
to
f16118d
Compare
Master branch: 588cd7e |
f16118d
to
1a00bbc
Compare
Master branch: 588cd7e |
1a00bbc
to
135c488
Compare
Master branch: ebc7b50 |
135c488
to
14d6f35
Compare
Master branch: b599015 |
14d6f35
to
3d62b9d
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=561959 expired. Closing PR. |
Master branch: 99aaebf |
Master branch: db5b6a4 |
694b5d6
to
70a4521
Compare
Master branch: 44ce0ac |
70a4521
to
90d5970
Compare
Master branch: 549beec |
90d5970
to
90bee51
Compare
Master branch: b0c7663 |
90bee51
to
f27b92a
Compare
Master branch: 29da17c |
f27b92a
to
5d84b37
Compare
Master branch: 57385ae |
5d84b37
to
1233895
Compare
Master branch: 1000298 |
1233895
to
0758e42
Compare
Master branch: 59f2a29 |
0758e42
to
deed363
Compare
We can't use section name anymore because they are not unique and pinning objects with multiple programs with the same progtype/secname will fail. Closes: libbpf/libbpf#273 Fixes: 33a2c75 ("libbpf: add internal pin_name") Reviewed-by: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Stanislav Fomichev <sdf@google.com>
Otherwise, attaching with bpftool doesn't work with strict section names. Also, switch to libbpf strict mode to use the latest conventions (note, I don't think we have any cli api guarantees?). Cc: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Stanislav Fomichev <sdf@google.com> Reviewed-by: Quentin Monnet <quentin@isovalent.com>
- update custom loader to search by name, not section name - update bpftool commands to use proper pin path Signed-off-by: Stanislav Fomichev <sdf@google.com>
Master branch: e89ef63 |
deed363
to
57d243b
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=568209 irrelevant now. Closing PR. |
Pull request for series with
subject: libbpf: use func name when pinning programs with LIBBPF_STRICT_SEC_NAME
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=561249