eal: set name to threads
authorRavi Kerur <rkerur@gmail.com>
Wed, 29 Jul 2015 00:51:44 +0000 (17:51 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 14:32:34 +0000 (15:32 +0100)
commit67b6d3039e9edbc4624c878c6930be5e126e8b58
treeb3f2500cc06611136a9ea6cf4a127a9eb4bfdfa8
parent9c5b8d8b9febc0b2a9dca8211a678c75933ebaaa
eal: set name to threads

This patch adds support for pthread_setname_np on Linux and
pthread_set_name_np on FreeBSD.

Signed-off-by: Ravi Kerur <rkerur@gmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
[Thomas: add name in tep_termination example]
13 files changed:
examples/tep_termination/Makefile
examples/tep_termination/main.c
examples/vhost/Makefile
examples/vhost/main.c
examples/vhost_xen/Makefile
examples/vhost_xen/main.c
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/include/rte_eal.h
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal_interrupts.c
lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
lib/librte_eal/linuxapp/eal/eal_timer.c