PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
solaris-context.h
Go to the documentation of this file.
1 #ifndef _SOLARIS_CONTEXT_H
2 #define _SOLARIS_CONTEXT_H
3 
4 #include <sys/ucontext.h>
5 
6 typedef siginfo_t _solaris_siginfo_t;
7 #define hwd_siginfo_t _solaris_siginfo_t
8 typedef ucontext_t _solaris_ucontext_t;
9 #define hwd_ucontext_t _solaris_ucontext_t
10 
11 #define GET_OVERFLOW_ADDRESS(ctx) (void*)(ctx->ucontext->uc_mcontext.gregs[REG_PC])
12 
13 #endif
siginfo_t _solaris_siginfo_t
ucontext_t _solaris_ucontext_t