Hi, Konstantin,

Thanks for your review. All accepted and fixed in v3.

Jie Hai

On 2023/1/23 1:49, Konstantin Ananyev wrote:

This patch supports dump of the info of ring by its name.
An example using this command is shown below:

--> /ring/info,MP_mb_pool_0
{
   "/ring/info": {
     "name": "MP_mb_pool_0",
     "socket": 0,
     "flags": 0,
     "producer_type": "MP",
     "consumer_type": "MC",
     "size": 262144,
     "mask": 262143,
     "capacity": 262143,
     "used_count": 147173,
     "consumer_tail": 8283,
     "consumer_head": 8283,
     "producer_tail": 155456,
     "producer_head": 155456,
     "mz_name": "RG_MP_mb_pool_0",
     "mz_len": 2097920,
     "mz_hugepage_sz": 1073741824,
     "mz_socket_id": 0,
     "mz_flags": 0
   }
}

Signed-off-by: Jie Hai <haij...@huawei.com>

Reply via email to