TAPSET::DEV(3stap)

TAPSET::DEV πŸ’»βœ¨

okay bestie, welcome to the dev tapset of systemtap β€” it's giving "kernel device numbers, but make it cute" πŸŽ€ and honestly? it ate.


🌸 NAME 🌸

tapset::dev β€” the systemtap dev tapset, aka your little toolbox for talking about device numbers like a main character πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this tapset is basically a group chat of helper functions for kernel device numbers (kdev_t), and every single one of them has its own dedicated page. let's go, one by one, no skipping, periodt ✨

  • MAJOR β€” pulls the major device number out of a kernel device number (kdev_t). iconic extraction behavior, fr fr. 🫢

see function::MAJOR(3stap) for all the deets.

  • MINOR β€” same energy, but it pulls the minor device number out of a kernel device number (kdev_t). yes queen, the other half. πŸ’–

see function::MINOR(3stap) for all the deets.

  • MKDEF β€” this one creates a value, and that value can be compared to a kernel device number (kdev_t). it's giving matchmaker energy lowkey. πŸ”₯

see function::MKDEF(3stap) for all the deets.

  • usrdev2kerndev β€” converts a user-space device number into the format the kernel actually uses. glow-up: applied. 🧚

see function::usrdev2kerndev(3stap) for all the deets.

not me listing every single one of these with its own reference page, because that's literally what the original does and we do not gatekeep πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie, they're all connected, iykyk 🌈


SystemTap Tapset Reference Β· September 2026 Β· TAPSET::DEV(3stap)

and that's the whole page, mwah πŸ’‹ thanks for reading my little tapset Ted Talk, go forth and decode those device numbers bestie πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from