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

Get BTF objects by name #56

Open
qmonnet opened this issue Jan 8, 2023 · 1 comment
Open

Get BTF objects by name #56

qmonnet opened this issue Jan 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@qmonnet
Copy link
Member

qmonnet commented Jan 8, 2023

From man bpftool-btf:

 BTF_SRC := { id BTF_ID | prog PROG | map MAP [{key | value | kv | all}] | file FILE }

We could support passing BTF objects by name as well, e.g. vmlinux or any module name.

@qmonnet qmonnet added the enhancement New feature or request label Jan 8, 2023
kernel-patches-daemon-bpf bot pushed a commit to kernel-patches/bpf that referenced this issue Aug 28, 2023
Like maps and progs, add support to dump BTF
objects by name ([0]).

  [0] Closes: libbpf/bpftool#56

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
kernel-patches-daemon-bpf-rc bot pushed a commit to kernel-patches/bpf-rc that referenced this issue Aug 28, 2023
Like maps and progs, add support to dump BTF
objects by name ([0]).

  [0] Closes: libbpf/bpftool#56

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
intel-lab-lkp pushed a commit to intel-lab-lkp/linux that referenced this issue Aug 28, 2023
Like maps and progs, add support to dump BTF
objects by name ([0]).

  [0] Closes: libbpf/bpftool#56

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
kernel-patches-daemon-bpf bot pushed a commit to kernel-patches/bpf that referenced this issue Aug 30, 2023
Like maps and progs, add support to dump BTF
objects by name ([0]).

  [0] Closes: libbpf/bpftool#56

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
kernel-patches-daemon-bpf-rc bot pushed a commit to kernel-patches/bpf-rc that referenced this issue Aug 30, 2023
Like maps and progs, add support to dump BTF
objects by name ([0]).

  [0] Closes: libbpf/bpftool#56

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
@qmonnet
Copy link
Member Author

qmonnet commented Aug 30, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant