DOKK / manpages / debian 11 / systemtap-doc / function::MAJOR.3stap.en
FUNCTION::MAJOR(3stap) Device Tapset FUNCTION::MAJOR(3stap)

function::MAJOR - Extract major device number from a kernel device number (kdev_t)


MAJOR:long(dev:long)

dev

Kernel device number to query.

tapset::dev(3stap)

November 2020 SystemTap Tapset Reference