DOKK / manpages / debian 10 / systemtap-doc / function::registers_valid.3stap.en
FUNCTION::REGISTERS_(3stap) Context Functions FUNCTION::REGISTERS_(3stap)

function::registers_valid - Determines validity of register and u_register in current context


registers_valid:long()

None

This function returns 1 if register and u_register can be used in the current context, or 0 otherwise. For example, registers_valid returns 0 when called from a begin or end probe.

tapset::context(3stap)

October 2018 SystemTap Tapset Reference