sof_debug_check_flag(9)
π NAME π
sof_debug_check_flag β okay so this is the little cutie that checks whether a given flag (or a whole squad of flags) is actually set in sof_core_debug β¨
πΈ SYNOPSIS πΈ
bool sof_debug_check_flag (int mask );
Like, that's it. One argument. One bool. She's lowkey minimal and I respect it π«Ά
π ARGUMENTS π
maskβ the flag, or the cute little combination of flags, that you want to check. That's the whole assignment bestie π
π¦ DESCRIPTION π¦
So here's the vibe check π : this function returns true if all the bits set in mask are also set in sof_core_debug. And if literally any of them aren't? false. Periodt. π
Heads up: it's all the bits, not just one of them. mask is a combo, she's checking every single one. No half-credit, no partial slay π
β SEE ALSO β
- Kernel file
./sound/soc/sof/core.cβ go read the source, iykyk π sof_print_oops_and_stack(9)β the other function doing main character energy in this corner of the kernel π₯
k bye bestie, that's the whole page!! π§π This lil beauty lives over in ./sound/soc/sof and it's dated October 2026 β slay, mark your calendars girlie πβ¨
π¦ 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