param_get_dyndbg_classes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… param_get_dyndbg_classes(9) β€” from the Kernel API Manual, bestie

okay so picture this: it's a whole kernel API manual page, and it's here to tell you about a classes reader. yes, a reader. of classes. keep up 🫢


✨ NAME ✨

param_get_dyndbg_classes β€” the classes reader, periodt. she reads. that's her job. πŸ‘‘


🌸 SYNOPSIS 🌸

int param_get_dyndbg_classes (char *buffer , const struct kernel_param *kp );

look at her go, literally two arguments and a dream πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • buffer β€” a string description of the controlled bits, which then becomes -> classes. it's giving "words in, classes out" energy ✨
  • kp β€” okay so kp->arg has state: the bits, and the map. that's it, that's the whole vibe πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she reads the last written state β€” but heads up bestie, the underlying prdbg state may have been altered by direct >control. like, someone else touched it. rude, but okay πŸ™ˆ

and the display formatting? iconic:

  • 0x for DISJOINT
  • 0-N for LEVEL

Returns: #chars written or <0 on error β€” so if you get a negative back, that's your sign something went off, ngl πŸ’€


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./lib/dynamic_debug.c
  • param_set_dyndbg_classes(9) β€” the setter to her getter, the other half of the duo fr fr 🫢

so yeah, ./lib, October 2026, Kernel API Manual β€” that's the whole source/version/date situation, mwah πŸ’‹ slay, bye πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from