Auto-complete BTF IDs for `btf dump id` sub-command. List of possible BTF
IDs is scavenged from loaded BPF programs that have associated BTFs, as
there is currently no API in libbpf to fetch list of all BTFs in the
system.
Suggested-by: Quentin Monnet <redacted>
Signed-off-by: Andrii Nakryiko <redacted>
---
tools/bpf/bpftool/bash-completion/bpftool | 9 +++++++++
1 file changed, 9 insertions(+)
Auto-complete BTF IDs for `btf dump id` sub-command. List of possible BTF
IDs is scavenged from loaded BPF programs that have associated BTFs, as
there is currently no API in libbpf to fetch list of all BTFs in the
system.
Suggested-by: Quentin Monnet <redacted>
Signed-off-by: Andrii Nakryiko <redacted>
From: Daniel Borkmann <daniel@iogearbox.net> Date: 2019-05-28 09:24:15
On 05/26/2019 02:01 AM, Andrii Nakryiko wrote:
Auto-complete BTF IDs for `btf dump id` sub-command. List of possible BTF
IDs is scavenged from loaded BPF programs that have associated BTFs, as
there is currently no API in libbpf to fetch list of all BTFs in the
system.
Suggested-by: Quentin Monnet <redacted>
Signed-off-by: Andrii Nakryiko <redacted>
Applied, thanks!
(Please add versioning in the subject in future, e.g. [PATCH v2 bpf-next])
On Tue, May 28, 2019 at 2:24 AM Daniel Borkmann [off-list ref] wrote:
On 05/26/2019 02:01 AM, Andrii Nakryiko wrote:
quoted
Auto-complete BTF IDs for `btf dump id` sub-command. List of possible BTF
IDs is scavenged from loaded BPF programs that have associated BTFs, as
there is currently no API in libbpf to fetch list of all BTFs in the
system.
Suggested-by: Quentin Monnet <redacted>
Signed-off-by: Andrii Nakryiko <redacted>
Applied, thanks!
Thanks!
(Please add versioning in the subject in future, e.g. [PATCH v2 bpf-next])
Ah yeah, sorry about that, forgot to update --subject-prefix when
generating patch :(