Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
stats: convert error counters to normal counters
[vpp.git]
/
src
/
vlib
/
error.h
diff --git
a/src/vlib/error.h
b/src/vlib/error.h
index
b921067
..
c7e7ce4
100644
(file)
--- a/
src/vlib/error.h
+++ b/
src/vlib/error.h
@@
-56,6
+56,7
@@
typedef struct
char *name;
char *desc;
enum vl_counter_severity_e severity;
char *name;
char *desc;
enum vl_counter_severity_e severity;
+ u32 stats_entry_index;
} vlib_error_desc_t;
typedef struct
} vlib_error_desc_t;
typedef struct
@@
-69,6
+70,9
@@
typedef struct
/* Counter structures in heap. Heap index
indexes counter vector. */
vlib_error_desc_t *counters_heap;
/* Counter structures in heap. Heap index
indexes counter vector. */
vlib_error_desc_t *counters_heap;
+
+ /* stats segment entry index */
+ u32 stats_err_entry_index;
} vlib_error_main_t;
/* Per node error registration. */
} vlib_error_main_t;
/* Per node error registration. */