[PATCH] mempool: add object usage counts for the telemetry api
Thomas Monjalon
thomas at monjalon.net
Mon Feb 6 00:30:34 CET 2023
15/11/2022 17:28, Morten Brørup:
> +CC mempool maintainers
>
> > From: Robin Jarry [mailto:rjarry at redhat.com]
> > Sent: Tuesday, 15 November 2022 16.36
> >
> > rte_mempool_dump() already returns the number of objects available and
> > in the cache. This information is missing from the telemetry API. Add
> > it
> > albeit with less granularity for cached counts (only report the
> > total_cache_count).
> >
> > Signed-off-by: Robin Jarry <rjarry at redhat.com>
> > ---
>
> Please consider that the individual per-lcore cache lengths could be informative for some applications too.
>
> Anyway, they could be provided in a later patch.
>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
Rebased and applied, thanks.
More information about the dev
mailing list