DOKK / manpages / debian 12 / systemtap-doc / function::set_kernel_long.3stap.en
FUNCTION::SET_KERNEL(3stap) String and data writing functi FUNCTION::SET_KERNEL(3stap)

function::set_kernel_long - Writes a long value to kernel memory


set_kernel_long(addr:long,val:long)

addr

The kernel address to write the long to

val

The long which is to be written

Writes the long value to a given kernel memory address. Reports an error when writing to the given address fails. Requires the use of guru mode (-g).

tapset::conversions-guru(3stap)

November 2022 SystemTap Tapset Reference