diff options
author | Damjan Marion <damarion@cisco.com> | 2022-03-14 13:04:38 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-03-14 18:33:32 +0000 |
commit | d1bd9af16ed6575e08871d1cadd429f2d5925220 (patch) | |
tree | 24698c66736780d0e2a8c6d5e8526ca1dd43b467 /src/vlib/stats/stats.h | |
parent | 85a9c101bffe99da141b496f95966258b922a440 (diff) |
stats: support recursive locking
Type: improvement
Change-Id: I85dd3d34bcb175dd68dda34a58cd454848a0fc2b
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/stats/stats.h')
-rw-r--r-- | src/vlib/stats/stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/stats/stats.h b/src/vlib/stats/stats.h index 25d7c4ba484..faaa37a7ec2 100644 --- a/src/vlib/stats/stats.h +++ b/src/vlib/stats/stats.h @@ -82,6 +82,8 @@ typedef struct f64 update_interval; clib_spinlock_t *stat_segment_lockp; + u32 locking_thread_index; + u32 n_locks; clib_socket_t *socket; u8 *socket_name; ssize_t memory_size; |