damon_probe_hits_wsum(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– damon_probe_hits_wsum(9) πŸ’–

okay bestie so this is a page from the Kernel API Manual (section 9, kernel API stuff, iykyk) and it's all about damon_probe_hits_wsum β€” a lil function that hands you back the probe hits weighted sum of a region. literally that's the whole vibe. πŸŽ€


✨ NAME ✨

damon_probe_hits_wsum β€” returns probe hits weighted sum of a region. that's it, that's the function. 🫢


🌸 SYNOPSIS 🌸

unsigned int damon_probe_hits_wsum (struct damon_region *r , bool last ,
       struct damon_ctx *ctx );

look at her go. three args, returns an unsigned int. iconic behavior honestly. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • r β€” the region you want the weighted sum of. like, the actual region. give her a region and she'll do her thing. πŸ’…
  • last β€” a bool, and it's the vibe check for which probe hits you want: set it if your request is for the last-window aggregated probe hits. so like, previous window data, not current. no cap. πŸ•°οΈ
  • ctx β€” the context of r. yes, r's context. they're a package deal bestie. πŸŽ€

⭐ RETURN ⭐

she returns the weighted sum of probe hits of the region. an unsigned int of pure facts. slay. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

okay this is the friend group, and they're all in the kernel file ./mm/damon/core.c β€” go say hi:

like eighteen whole friends. go read them too, fr fr. πŸ“š


πŸ’€ reminder bestie: this is the Kernel API Manual, section 9. kernel-level stuff. be normal about it (or don't, honestly, live your truth).

and that's the page!! sourced from ./mm/damon, dated October 2026 β€” mwah, love u, go read the kernel source πŸ’‹βœ¨πŸŒˆ

πŸ“¦ where this page comes from