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

Add missing program type feature probes #890

Merged
merged 2 commits into from
Dec 23, 2022

Commits on Dec 23, 2022

  1. btf: add setter for Func Metadata

    With this commit it is possible to set `btf.funcInfoMeta` on
    asm.Instructions from outside the `btf` package.
    
    Signed-off-by: Robin Gögge <[email protected]>
    rgo3 authored and ti-mo committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    c8d3105 View commit details
    Browse the repository at this point in the history
  2. features: add Tracing and Extension program probes

    Hardcode bpf_init as the fentry probe target. It's been part of the kernel
    since 4.4 (torvalds/linux@b2197755b263), has been completely untouched,
    and has a simple signature. For probing a BPF program type, it makes sense
    to target a symbol from the BPF subsystem.
    
    Signed-off-by: Robin Gögge <[email protected]>
    Signed-off-by: Timo Beckers <[email protected]>
    rgo3 authored and ti-mo committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    6e188e9 View commit details
    Browse the repository at this point in the history