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

function::set_user_pointer - Writes a pointer value to user memory.


set_user_pointer(addr:long,val:long)

addr

The user address to write the pointer to

val

The pointer which is to be written

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

tapset::uconversions-guru(3stap)

November 2022 SystemTap Tapset Reference