Skip to content

Allow libbpf-tools to run on old kernels #4231

@chenhengqi

Description

@chenhengqi

We have a bunch of libbpf tools require features like fentry / tp_btf which only available on kernel v5.5+.
Running these tools on old kernels result in EINVAL. Instead of error out, we can fallback to kprobe.
Open this ticket to keep track of this process:

  • biolatency
  • biosnoop
  • biostacks
  • bitesize
  • cachestat
  • cpudist
  • cpufreq
  • drsnoop
  • hardirqs
  • mdflush
  • numamove
  • offcputime
  • readahead
  • softirqs

If you are interested, please feel free to pick it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions