[ovs-dev] [PATCH] dpif-netdev: Add core id in the PMD thread name.

Ilya Maximets i.maximets at samsung.com
Fri Sep 6 10:35:35 UTC 2019


On 13.08.2019 19:37, Ilya Maximets wrote:
> This is highly useful to see on which core PMD is running by
> only looking at the thread name. Thread Id still allows to
> distinguish different threads running on the same core over the time:
> 
>    |dpif_netdev(pmd-c10/id:53)|DBG|Creating 2. subtable <...>
>    |dpif_netdev(pmd-c10/id:53)|DBG|flow_add: <...>, actions:2
>    |dpif_netdev(pmd-c09/id:70)|DBG|Core 9 processing port <..>
> 
> In gdb, top or any other utility it's useful to quickly catch up
> needed thread without parsing logs, memory or matching threads by port
> names they're handling.
> 
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---

Thanks, Eelco and David! Applied to master.

Best regards, Ilya Maximets.


More information about the dev mailing list