numam-dpdk/examples
Ferruh Yigit badb3688ff eal/linux: fix build with glibc < 2.12
pthread_setname_np() function added in glibc 2.12, using this function
in older glibc versions cause compile error:
error: implicit declaration of function "pthread_setname_np"

This patch adds "rte_thread_setname" macro and set it according
glibc >= 2.12 check, thread naming disabled for older glibc versions,
glibc versions that support "pthread_setname_np" will keep using this
function.

Fixes: 67b6d3039e ("eal: set name to threads")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2015-11-25 14:41:37 +01:00
..
bond examples/bond: fix build with clang 2015-05-19 17:35:33 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix debug macro 2015-06-22 22:33:42 +02:00
dpdk_qat mbuf: use offset macro 2015-06-24 12:01:14 +02:00
exception_path apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
ip_pipeline examples/ip_pipeline: remove references to deprecated statistics 2015-11-12 23:05:28 +01:00
ip_reassembly mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
ipv4_multicast examples/ipv4_multicast: support double vlan stripping and insertion 2015-07-07 16:42:49 +02:00
kni examples/kni: fix crash on exit 2015-08-10 16:25:30 +02:00
l2fwd examples: fix whitespace 2015-06-12 11:10:10 +02:00
l2fwd-ivshmem apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l2fwd-jobstats apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: add sample application 2015-11-19 15:45:26 +01:00
l3fwd mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
l3fwd-acl acl: remove old API 2015-09-03 19:22:48 +02:00
l3fwd-power examples/l3fwd-power: disable Rx interrupt when waking up 2015-10-29 23:47:37 +01:00
l3fwd-vf hash: rename unused field 2015-07-13 19:27:31 +02:00
link_status_interrupt apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
load_balancer mbuf: use offset macro 2015-06-24 12:01:14 +02:00
multi_process examples: fix whitespace 2015-06-12 11:10:10 +02:00
netmap_compat examples: fix whitespace 2015-06-12 11:10:10 +02:00
packet_ordering apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
ptpclient examples/ptpclient: add minimal PTP client 2015-11-13 17:44:49 +01:00
qos_meter apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_sched examples/qos_sched: remove duplicated cfgfile library 2015-10-22 18:09:36 +02:00
quota_watermark examples: fix whitespace 2015-06-12 11:10:10 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination eal/linux: fix build with glibc < 2.12 2015-11-25 14:41:37 +01:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost eal/linux: fix build with glibc < 2.12 2015-11-25 14:41:37 +01:00
vhost_xen eal/linux: fix build with glibc < 2.12 2015-11-25 14:41:37 +01:00
vm_power_manager examples/vm_power: fix physical core mask 2015-08-11 09:43:22 +02:00
vmdq apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
vmdq_dcb ethdev: rename DCB field in config structs 2015-11-01 14:44:31 +01:00
Makefile examples/l2fwd-keepalive: add sample application 2015-11-19 15:45:26 +01:00