[dpdk-dev] [PATCH v2] Add support for pthreads setname.

Stephen Hemminger stephen at networkplumber.org
Thu Jul 30 01:56:16 CEST 2015


On Tue, 28 Jul 2015 17:51:44 -0700
Ravi Kerur <rkerur at gmail.com> wrote:

> This patch adds support for pthread_setname_np on Linux and
> pthread_set_name_np on FreeBSD.
> 
> Changes in V2:
> Remove config support for max thread name len.
> Restrict max thread name len to 16 on Linux and FreeBSD.
> Fix checkpatch.pl errors.
> Changes based on code review comments from Thomas.
> 
> Changes in V1:
> Add support for _setname_ on Linux and FreeBSD.
> 
> Signed-off-by: Ravi Kerur <rkerur at gmail.com>

Looks like good simple solution.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list