DOKK / manpages / debian 11 / systemtap-doc / function::modname.3stap.en
FUNCTION::MODNAME(3stap) Context Functions FUNCTION::MODNAME(3stap)

function::modname - Return the kernel module name loaded at the address


modname:string(addr:long)

addr

The address to map to a kernel module name

Returns the module name associated with the given address if known. If not known it will raise an error. If the address was not in a kernel module, but in the kernel itself, then the string “kernel” will be returned.

tapset::context-symbols(3stap)

November 2020 SystemTap Tapset Reference