function::modname.3stap - Man Page

Return the kernel module name loaded at the address

Synopsis

    modname:string(addr:long)

Arguments

addr

The address to map to a kernel module name

Description

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.

See Also0

tapset::context-symbols(3stap)

Info

November 2023 SystemTap Tapset Reference Context Functions