File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 30
30
/* static events exported by the core */
31
31
static str evi_core_table [] = {
32
32
CORE_EVENT_STR (THRESHOLD ),
33
+ /* FIXME - if no statistics, the EVI ids will not be working anymore,
34
+ * since we don't save the actual ID registered in EVI */
33
35
#ifdef STATISTICS
34
36
CORE_EVENT_STR (SHM_THRESHOLD ),
35
37
#endif
Original file line number Diff line number Diff line change 27
27
#define EVI_CORE_H
28
28
29
29
/* events id declared - these must be always incremented by one */
30
- #define EVI_THRESHOLD_ID 0
31
- #define EVI_SHM_THRESHOLD_ID 1
32
- #define EVI_PKG_THRESHOLD_ID 2
33
- #define EVI_PROC_AUTO_SCALE_ID 3
34
- #define EVI_TCP_DISCONNECT 4
30
+ /* FIXME - first EVI is E_CORE_SR_STATUS_CHANGED, done outside of EVI core here,
31
+ * which is why we start indexing at 1 */
32
+ #define EVI_THRESHOLD_ID 1
33
+ #define EVI_SHM_THRESHOLD_ID 2
34
+ #define EVI_PKG_THRESHOLD_ID 3
35
+ #define EVI_PROC_AUTO_SCALE_ID 4
36
+ #define EVI_TCP_DISCONNECT 5
35
37
36
38
37
39
#define EVI_CORE_PREFIX "E_CORE_"
You can’t perform that action at this time.
0 commit comments