opd_interface.h
Go to the documentation of this file.00001
00016 #ifndef OPD_INTERFACE_H
00017 #define OPD_INTERFACE_H
00018
00019 #define CTX_SWITCH_CODE 1
00020 #define CPU_SWITCH_CODE 2
00021 #define COOKIE_SWITCH_CODE 3
00022 #define KERNEL_ENTER_SWITCH_CODE 4
00023 #define USER_ENTER_SWITCH_CODE 5
00024 #define MODULE_LOADED_CODE 6
00025 #define CTX_TGID_CODE 7
00026 #define TRACE_BEGIN_CODE 8
00027
00028
00029 #define XEN_ENTER_SWITCH_CODE 10
00030
00031
00032
00033
00034
00035 #if defined(__powerpc__)
00036 #define SPU_PROFILING_CODE 11
00037 #define SPU_CTX_SWITCH_CODE 12
00038 #else
00039 #define DOMAIN_SWITCH_CODE 11
00040
00041 #endif
00042
00043
00044 #define IBS_FETCH_SAMPLE 13
00045 #define IBS_OP_SAMPLE 14
00046 #define LAST_CODE 15
00047
00048 #endif