ref_tracker_dir_debugfs(9)
π ref_tracker_dir_debugfs (from the Kernel API Manual, bestie)
β¨ NAME β¨
ref_tracker_dir_debugfs β okay so this one literally makes a debugfs file for a ref_tracker_dir, that's the whole vibe π
πΈ SYNOPSIS πΈ
void ref_tracker_dir_debugfs (struct ref_tracker_dir *dir );
π¦ ARGUMENTS π¦
dirβ theref_tracker_diryou want to be associated with the debugfs file. like, this is the one getting a debugfs file of its very own π«Ά
π DESCRIPTION π
So here's the tea: in most cases, a debugfs file gets created automatically for every single ref_tracker_dir. Iconic, no work required, we love that for you β¨
But β and this is the part where it gets a little π β if the object was created before debugfs is brought up, then that automatic creation may fail. Not me being dramatic, that's just how it is.
In those cases, it is safe to call this at a later time to create the file. Like, you're not doing anything cursed, you're just doing it fashionably late π periodt.
fr fr: this function exists for exactly that "oops we were too early" moment. call it later, the file still gets made, everything's fine π
π§ SEE ALSO π§
Kernel file ./lib/ref_tracker.c β that's where the whole thing lives, go read it, iykyk π
mwah π that's the whole page! source/version is ./lib, dated October 2026 β <rainbow>ref_tracker_dir_debugfs(9)</rainbow> signing off, slay β¨π
π¦ 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