Skip to content

Commit

Permalink
libbpf-tools: update ppc vmlinux.h with missing bpf_perf_link, BPF_LI…
Browse files Browse the repository at this point in the history
…NK_TYPE_PERF_EVENT

A BCC-based project I'm working on builds fine on x86_64 but fails on ppc.
The cause is the slightly outdated vmlinux header for the latter platform,
which is missing the bpf_perf_link structure and related macros.

I've regenerated a header using this following command and updated the link:

bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux_514.h

Signed-off-by: Nathan Scott <[email protected]>
  • Loading branch information
natoscott authored and chenhengqi committed Nov 23, 2022
1 parent 009b9fc commit 1025b8c
Show file tree
Hide file tree
Showing 2 changed files with 65,830 additions and 69,236 deletions.
2 changes: 1 addition & 1 deletion libbpf-tools/powerpc/vmlinux.h
Loading

0 comments on commit 1025b8c

Please sign in to comment.