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

btfdump: Allow to dump from /sys/kernel/btf/vmlinux #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 10, 2024

  1. btfdump: Allow to dump from /sys/kernel/btf/vmlinux

    Support dumping BTF not only from ELF files, but also from raw BTF
    information (which starts directly with BTF magic number) like the
    one peresent in /sys/kernel/btf/vmlinux.
    
    This way, btfdump can be used for generating the vmlinux.h for the
    given kernel.
    
    Also, don't use mmap, since it doesn't work on sysfs.
    vadorovsky committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    1dc9dd6 View commit details
    Browse the repository at this point in the history