These probes are used to signal calls to setjmp
, sigsetjmp
,
longjmp
or siglongjmp
.
This probe is triggered whenever
setjmp
orsigsetjmp
is called. Argument $arg1 is a pointer to thejmp_buf
passed as the first argument ofsetjmp
orsigsetjmp
, $arg2 is the second argument ofsigsetjmp
or zero if this is a call tosetjmp
and $arg3 is a pointer to the return address that will be stored in thejmp_buf
.
This probe is triggered whenever
longjmp
orsiglongjmp
is called. Argument $arg1 is a pointer to thejmp_buf
passed as the first argument oflongjmp
orsiglongjmp
, $arg2 is the return value passed as the second argument oflongjmp
orsiglongjmp
and $arg3 is a pointer to the return addresslongjmp
orsiglongjmp
will return to.The
longjmp
probe is triggered at a point where the registers have not yet been restored to the values in thejmp_buf
and unwinding will show a call stack including the caller oflongjmp
orsiglongjmp
.
This probe is triggered under the same conditions and with the same arguments as the
longjmp
probe.The
longjmp_target
probe is triggered at a point where the registers have been restored to the values in thejmp_buf
and unwinding will show a call stack including the caller ofsetjmp
orsigsetjmp
.