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 libbpf-based tools #2755

Merged
merged 3 commits into from Feb 13, 2020
Merged

Commits on Feb 12, 2020

  1. libbpf tools: check in bpftool for use by libbpf-based tool build

    Check in bpftool binary to be used for BPF skeleton generation for
    libbpf-based tools.
    
    Signed-off-by: Andrii Nakryiko <andriin@fb.com>
    anakryiko committed Feb 12, 2020
    Copy the full SHA
    4281c62 View commit details
    Browse the repository at this point in the history
  2. tools: add vmlinux.h header with all kernel types

    Check in vmlinux.h generated from Linux 5.5 version with default config. This
    is used from libbpf-based tools.
    
    Signed-off-by: Andrii Nakryiko <andriin@fb.com>
    anakryiko committed Feb 12, 2020
    Copy the full SHA
    7fcb335 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. tools: add libbpf-based tools to BCC w/ runqslower as first converted…

    … tool
    
    Add runqslower as a first tool converted from BCC to libbpf, utilizing BPF
    CO-RE (Compile Once - Run Everywhere) approach and BPF skeleton for
    interfacing with BPF programs. Current set up is Makefile based and is set up
    in such a way as to enable easy addition for more tools, based on a simple and
    convenient naming pattern. General build infrastructure takes case of BPF
    skeleton generation, tracking dependencies, clean up, etc.
    
    Signed-off-by: Andrii Nakryiko <andriin@fb.com>
    anakryiko committed Feb 13, 2020
    Copy the full SHA
    e1496e1 View commit details
    Browse the repository at this point in the history