On Tue, 29 Nov 2022 14:04:45 -0800 Tyler Retzlaff <roret...@linux.microsoft.com> wrote:
> > Markus and I ultimately use the function in the patch to call > > rte_thread_setname() (which takes the pthread id as an argument) to rename > > our > > lcore workers from "lcore-worker-X" to something more meaningful in the > > scope > > of our application. Having descriptive thread names makes debugging > > significantly easier. For example, verifying CPU pinning worked as intended > > with ps -T ..., or identifying threads in the Intel VTune profiler. Why not have the worker threads rename themselves?