diff options
author | Ihor Solodrai <[email protected]> | 2024-09-13 00:19:02 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-12 19:07:13 -0700 |
commit | ea02a946873ba6709080e9db7b22449f1ac69fd4 (patch) | |
tree | 53e317721866b200e9342ba701ee8dde1f802299 /scripts/gdb/linux/tasks.py | |
parent | 6182e0b80f9b5c8da19ab3a60db2e4cc10b259e8 (diff) |
libbpf: Add bpf_object__token_fd accessor
Add a LIBBPF_API function to retrieve the token_fd from a bpf_object.
Without this accessor, if user needs a token FD they have to get it
manually via bpf_token_create, even though a token might have been
already created by bpf_object__load.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Ihor Solodrai <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions