Skip to content

geobeau/ioexporter

Repository files navigation

ioexporter

Prerequisites

  1. Install bpf-linker: cargo install bpf-linker

Build eBPF

cargo xtask build-ebpf

To perform a release build you can use the --release flag. You may also change the target architecture with the --target flag.

Build Userspace

cargo build

Run

RUST_LOG=info cargo xtask run

Codegen bindings

Dependencies:

apt install -y bpftool libclang-dev
bpftool -h # If you don't have it, install from source
cargo install bindgen-cli

Generate:

cargo xtask codegen

Find struct to add:

bpftool btf dump file /sys/kernel/btf/vmlinux format raw | grep <trace point>

About

Ebpf exporter related to disk I/O

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors