mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 04:00:24 +00:00
e9a9d32ab6
- combine c and kernel-examples as it's confusing to have both - rename 'rust-user' and 'c-user' to just 'rust' and 'c', which is simpler - update and fix sync-to-kernel.sh
14 lines
379 B
Rust
14 lines
379 B
Rust
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
//
|
|
// This software may be used and distributed according to the terms of the
|
|
// GNU General Public License version 2.
|
|
|
|
fn main() {
|
|
scx_utils::BpfBuilder::new()
|
|
.unwrap()
|
|
.enable_intf("src/bpf/intf.h", "bpf_intf.rs")
|
|
.enable_skel("src/bpf/main.bpf.c", "bpf")
|
|
.build()
|
|
.unwrap();
|
|
}
|