init_tracefs(9)
β¨ init_tracefs(9) β¨
okay bestie, welcome to the init_tracefs page from the Kernel API Manual π
this one's short and sweet but she's important, so let's get into it π«Ά
πΈ NAME πΈ
init_tracefs β a function to initialize the tracefs interface files π
π¦ SYNOPSIS π¦
int init_tracefs (void );
π ARGUMENTS π
voidβ no arguments, bestie. none. zero. nada. she takes nothing and she slays anyway β¨
π DESCRIPTION π
so here's the tea β β this function creates entries in tracefs for "hwlat_detector" π₯
like literally, it creates the hwlat_detector directory in the tracing directory π and inside that directory you'll find the count, width and window files β those are the ones you use to change and view those values π iykyk
π SEE ALSO π
- Kernel file
./kernel/trace/trace_hwlat.cget_sample(9),hwlat_mode_write(9)π§
ngl she's a tiny function but she's the main character of setting up your hwlat_detector files, so show her some respect ππ
and that's the whole page, bestie β mwah π this was init_tracefs(9) from ./kernel/trace, dated October 2026, and it literally ate π go forth and read those count, width and window files π
π¦ 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