Re-exportsยง
use std::mem::MaybeUninit;๐use crate::bpf_intf;๐use std::ffi::CStr;๐use std::ffi::c_int;๐use std::ffi::c_ulong;๐use std::sync::Arc;๐use std::sync::Once;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::Ordering;๐use anyhow::Context;๐use anyhow::Result;๐use anyhow::bail;๐use plain::Plain;๐use procfs::process::all_processes;๐use libbpf_rs::OpenObject;๐use libbpf_rs::ProgramInput;๐use libbpf_rs::libbpf_sys::bpf_object_open_opts;๐use libc::c_char;๐use libc::pthread_self;๐use libc::pthread_setschedparam;๐use libc::sched_param;๐use scx_utils::Topology;๐use scx_utils::UserExitInfo;๐use scx_utils::compat;๐use scx_utils::scx_ops_attach;๐use scx_utils::scx_ops_load;๐use scx_utils::scx_ops_open;๐use scx_utils::uei_exited;๐use scx_utils::uei_report;๐use scx_rustland_core::ALLOCATOR;๐use crate::bpf_intf::*;๐use crate::bpf_skel::*;๐
Structsยง
- Aligned
Buffer ๐ - BpfScheduler
- Dispatched
Task - Enqueued
Message ๐ - Queued
Task - High-level Rust abstraction to interact with a generic sched-ext BPF component.
Constantsยง
- BUFSIZE ๐
- RL_
CPU_ ANY - SCHED_
EXT ๐ - TASK_
COMM_ ๐LEN
Staticsยง
- BUF ๐
- SET_
HANDLER ๐
Functionsยง
- set_
ctrlc_ ๐handler