ENUM DAMON_OPS_ID(9)
β¨ enum damon_ops_id(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil enum that lives in the Linux kernel, and honestly it's giving "quick vibe check for DAMON" β let me explain π«Ά
πΈ NAME πΈ
enum damon_ops_id β the identifier for each monitoring operations implementation π
like, every DAMON monitoring-ops thing gets its own lil ID tag. that's it. that's the enum. iconic behaviour honestly π
π¦ SYNOPSIS π¦
enum damon_ops_id {
DAMON_OPS_VADDR ,
DAMON_OPS_FVADDR ,
DAMON_OPS_PADDR ,
NR_DAMON_OPS
};
π Constants π
okay here's the whole cast, main-character energy only β¨
DAMON_OPS_VADDRβ monitoring operations for virtual address spaces π§ literally vibing across the whole virtual address spaceDAMON_OPS_FVADDRβ monitoring operations for only fixed ranges of virtual address spaces π no cap, just the fixed bits, nothing extraDAMON_OPS_PADDRβ monitoring operations for the physical address space π₯ going straight to the hardware, iykykNR_DAMON_OPSβ the number of monitoring operations implementations π’ the counter bestie, the final boss of the enum
β SEE ALSO β
bestie there's a whole friend group, and you know we're linking them all π first up, the kernel file itself: ./include/linux/damon.h π and now the squad:
struct damon_addr_range(9)struct damon_size_range(9)struct damon_region(9)struct damon_target(9)enum damos_action(9)enum damos_quota_goal_metric(9)struct damos_quota_goal(9)enum damos_quota_goal_tuner(9)struct damos_quota(9)enum damos_wmark_metric(9)struct damos_watermarks(9)struct damos_stat(9)enum damos_filter_type(9)struct damos_filter(9)struct damos_walk_control(9)struct damos_access_pattern(9)struct damos_migrate_dests(9)struct damos(9)struct damon_operations(9)struct damon_intervals_goal(9)enum damon_filter_type(9)struct damon_filter(9)struct damon_probe(9)struct damon_attrs(9)struct damon_ctx(9)
go read them all, bestie, they're literally all connected π that's the whole ecosystem fr fr
mwah π that's the whole page β sign-off time! this lil masterpiece lives in ./include/linux, dated October 2026, and it goes out as enum damon_ops_id(9) π slay, bye π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms