[RFC PATCH 1/4] eal: add lcore info in telemetry

Stephen Hemminger stephen at networkplumber.org
Wed Nov 23 17:44:51 CET 2022


On Wed, 23 Nov 2022 11:26:09 +0100
Robin Jarry <rjarry at redhat.com> wrote:

> Report the same information than rte_lcore_dump() in the telemetry
> API into /eal/lcore/list and /eal/lcore/info,ID.
> 
> Example:
> 
>   --> /eal/lcore/info,3  
>   {
>     "/eal/lcore/info": {
>       "lcore_id": 3,
>       "socket": 0,
>       "role": "RTE",
>       "cpuset": "3"
>     }
>   }

Rather than reporting cpuset as a string might it be better
as a JSON array?
	"cpuset" : [ 3, 5 ]


More information about the dev mailing list