scxcash 0.1.2

Cache Usage Analyzer for sched_ext Schedulers
1
2
3
4
5
6
7
8
9
10
11
// Build script to compile and generate BPF skeleton and interface for scxcash.
fn main() {
    scx_cargo::BpfBuilder::new()
        .unwrap()
        .enable_intf("src/bpf/intf.h", "bpf_intf.rs")
        .enable_skel("src/bpf/soft_dirty.bpf.c", "bpf")
        .enable_skel("src/bpf/perf_sample.bpf.c", "perf_bpf")
        .enable_skel("src/bpf/hints_tls.bpf.c", "hints_bpf")
        .compile_link_gen()
        .unwrap();
}