sof_debug_check_flag(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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