Attach the pseudo interrupt handler that's used by the instrumented module
#include <sys/neutrino.h>
int InterruptHookTrace(
const struct sigevent * (* handler)(int),
unsigned flags );
libc
The InterruptHookTrace() function attaches the pseudo interrupt handler handle which is used by the instrumented module.
This function requires the instrumented kernel. Refer to the instrumented kernel docs for more detailed information. |
An interrupt function ID, or -1 if an error occurs (errno is set).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
InterruptAttach(), TraceEvent()