Skip to content
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

Closed
wants to merge 4 commits into from

Conversation

kernel-patches-bot
Copy link

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

@kernel-patches-bot
Copy link
Author

Master branch: 431bfb9
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561249
version: 1

@kernel-patches-bot
Copy link
Author

Master branch: 431bfb9
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: 223f903
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: 32fa0ef
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: 588cd7e
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: 588cd7e
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: ebc7b50
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

Master branch: b599015
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=561959
version: 2

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=561959 expired. Closing PR.

@kernel-patches-bot
Copy link
Author

Master branch: 99aaebf
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=567379
version: 3

@kernel-patches-bot
Copy link
Author

Master branch: db5b6a4
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 44ce0ac
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 549beec
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: b0c7663
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 29da17c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 57385ae
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 1000298
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

Master branch: 59f2a29
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

Nobody and others added 4 commits October 22, 2021 16:53
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>
@kernel-patches-bot
Copy link
Author

Master branch: e89ef63
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=568209
version: 5

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=568209 irrelevant now. Closing PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants