Re-exportsยง
pub(crate) use scx_utils::NR_CPU_IDS;๐pub(crate) use scx_utils::NR_CPUS_POSSIBLE;๐pub(crate) use std::collections::HashSet;๐pub(crate) use std::ffi::c_int;๐pub(crate) use std::mem::MaybeUninit;๐pub(crate) use std::sync::Arc;๐pub(crate) use std::sync::atomic::AtomicBool;๐pub(crate) use std::sync::atomic::Ordering;๐pub(crate) use std::time::Duration;๐pub(crate) use anyhow::Context;๐pub(crate) use anyhow::Result;๐pub(crate) use anyhow::bail;๐pub(crate) use clap::Parser;๐pub(crate) use crossbeam::channel::RecvTimeoutError;๐pub(crate) use libbpf_rs::MapCore;๐pub(crate) use libbpf_rs::MapFlags;๐pub(crate) use libbpf_rs::OpenObject;๐pub(crate) use libbpf_rs::ProgramInput;๐pub(crate) use log::warn;๐pub(crate) use debug;๐pub(crate) use info;๐pub(crate) use scx_utils::CoreType;๐pub(crate) use scx_utils::Cpumask;๐pub(crate) use scx_utils::NR_CPU_IDS;๐pub(crate) use scx_utils::NR_CPUS_POSSIBLE;๐pub(crate) use scx_utils::Powermode;๐pub(crate) use scx_utils::Topology;๐pub(crate) use scx_utils::UserExitInfo;๐pub(crate) use scx_utils::build_id;๐pub(crate) use scx_utils::compat;๐pub(crate) use scx_utils::get_primary_cpus;๐pub(crate) use scx_utils::libbpf_clap_opts::LibbpfOpts;๐pub(crate) use scx_utils::perf::PerfEventSpec;๐pub(crate) use scx_utils::perf::parse_perf_event;๐pub(crate) use scx_utils::perf::setup_perf_events;๐pub(crate) use scx_utils::scx_ops_attach;๐pub(crate) use scx_utils::scx_ops_load;๐pub(crate) use scx_utils::scx_ops_open;๐pub(crate) use scx_utils::try_set_rlimit_infinity;๐pub(crate) use scx_utils::uei_exited;๐pub(crate) use scx_utils::uei_report;๐pub use bpf_intf::*;pub(crate) use scx_stats::prelude::*;๐
Modulesยง
Structsยง
- BpfLinks
- BpfMaps
- BpfProgs
- BpfSkel
- BpfSkel
Builder - Metrics ๐
- Open
BpfMaps - Open
BpfProgs - Open
BpfSkel - Opts ๐
- Owned
Ref - Scheduler ๐
- Struct
Ops
Enumsยง
- DsqTopology ๐
- Topology level of the user-created DSQs. Each variant maps to a value of
enum topology_dsq_typefrom src/bpf/intf.h (the single source of truth), so the two cannot drift. - Idle
Policy ๐ - Wakeup idle-CPU selection policy. Each variant maps to a value of
enum idle_policy_typefrom src/bpf/intf.h. - Queue
Ordering ๐ - Ordering algorithm for the queue key of vtime-ordered DSQs. Each variant
maps to a value of
enum ordering_typefrom src/bpf/intf.h.
Constantsยง
- FORGE_
MAX_ ๐TOPO_ DISTANCES_ USIZE - FORGE_
MAX_ ๐TOPO_ DOMAINS_ USIZE - FORGE_
TOPO_ ๐CPUMASK_ WORDS_ USIZE - SCHEDULER_
NAME ๐