1FUNCTION::MODNAME(3stap) Context Functions FUNCTION::MODNAME(3stap)
2
3
4
6 function::modname - Return the kernel module name loaded at the address
7
9 modname:string(addr:long)
10
12 addr
13 The address to map to a kernel module name
14
16 Returns the module name associated with the given address if known. If
17 not known it will raise an error. If the address was not in a kernel
18 module, but in the kernel itself, then the string “kernel” will be
19 returned.
20
22 tapset::context-symbols(3stap)
23
24
25
26SystemTap Tapset Reference May 2021 FUNCTION::MODNAME(3stap)