diff options
author | Dave Barach <dave@barachs.net> | 2018-06-01 18:52:25 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2018-06-08 11:42:01 -0400 |
commit | 048a4e5a000017d0d632ebf02dcc23d9bf9ccf72 (patch) | |
tree | 5f00dd3888faae59e316059506d064ba0a17fb5a /src/vlib/counter.h | |
parent | 59ae61ee7587502c0446655ecbe3daa296498f56 (diff) |
export counters in a memfd segment
also export per-node error counters
directory entries implement object types
Change-Id: I8ce8e0a754e1be9de895c44ed9be6533b4ecef0f
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/counter.h')
-rw-r--r-- | src/vlib/counter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/counter.h b/src/vlib/counter.h index 60e2055d232..fe5279a5e28 100644 --- a/src/vlib/counter.h +++ b/src/vlib/counter.h @@ -63,6 +63,7 @@ typedef struct serialized incrementally. */ char *name; /**< The counter collection's name. */ + char *stat_segment_name; /**< Name in stat segment directory */ } vlib_simple_counter_main_t; /** The number of counters (not the number of per-thread counters) */ @@ -183,6 +184,7 @@ typedef struct vlib_counter_t *value_at_last_serialize; /**< Counter values as of last serialize. */ u32 last_incremental_serialize_index; /**< Last counter index serialized incrementally. */ char *name; /**< The counter collection's name. */ + char *stat_segment_name; /**< Name in stat segment directory */ } vlib_combined_counter_main_t; /** The number of counters (not the number of per-thread counters) */ |