numam-dpdk/examples
David Marchand e0216ac509 examples/performance-thread: fix build with pkg-config
main.c: In function ‘lthread_tx’:
main.c:2091:25: error: implicit declaration of function ‘sched_getcpu’;
 did you mean ‘sched_getparam’? [-Werror=implicit-function-declaration]
 2091 |  tx_conf->conf.cpu_id = sched_getcpu();
      |                         ^~~~~~~~~~~~
      |                         sched_getparam
cc1: all warnings being treated as errors

Explicitly pass _GNU_SOURCE and include missing header (rather than
rely on automagic inclusion from other system headers).

Fixes: d48415e1fe ("examples/performance-thread: add l3fwd-thread app")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
2020-11-15 15:31:15 +01:00
..
bbdev_app examples/bbdev: switch to dynamic mbuf field 2020-10-31 16:13:11 +01:00
bond examples: enclose DPDK includes with angle brackets 2020-10-31 16:13:10 +01:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00
distributor examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ethtool examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
eventdev_pipeline eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
fips_validation examples/fips_validation: fix build with pkg-config 2020-11-15 15:29:19 +01:00
flow_classify eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
flow_filtering examples: check stop call status 2020-10-16 22:26:41 +02:00
helloworld eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ioat examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_fragmentation eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ip_reassembly eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ipsec-secgw examples/ipsec-gw: fix build with pkg-config 2020-11-15 15:29:22 +01:00
ipv4_multicast eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
kni examples/kni: fix build with pkg-config 2020-11-15 15:29:23 +01:00
l2fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-cat examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix build with pkg-config 2020-11-15 15:29:24 +01:00
l2fwd-event eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-jobstats eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: skip meson build if no librt 2020-11-12 19:33:10 +01:00
l3fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-graph examples/l3fwd-graph: fix pkg-config usage 2020-11-15 15:29:34 +01:00
l3fwd-power examples/l3fwd-power: fix race on interrupt wakeup log 2020-11-02 11:47:19 +01:00
link_status_interrupt eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
multi_process examples/multi_process: fix build on Ubuntu 20.04 2020-10-30 14:54:50 +01:00
ntb examples/ntb: fix clean target 2020-11-15 15:30:21 +01:00
packet_ordering reorder: switch sequence number to dynamic mbuf field 2020-10-31 22:14:30 +01:00
performance-thread examples/performance-thread: fix build with pkg-config 2020-11-15 15:31:15 +01:00
pipeline examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
ptpclient eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_meter eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_sched examples/qos_sched: fix usage string 2020-11-13 14:25:57 +01:00
rxtx_callbacks examples/rxtx_callbacks: switch timestamp to dynamic field 2020-11-03 16:21:15 +01:00
server_node_efd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
service_cores examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
skeleton eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
timer eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vdpa examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost examples/vhost: fix ioat dependency 2020-11-13 19:43:26 +01:00
vhost_blk examples: stop processing meson file if build impossible 2020-11-12 19:33:36 +01:00
vhost_crypto examples/vhost_crypto: add new line character in usage 2020-11-13 19:43:25 +01:00
vm_power_manager cmdline: avoid name clash with Windows system types 2020-11-05 17:49:00 +01:00
vmdq eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vmdq_dcb eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build examples: fix flattening directory layout on install 2020-11-12 19:33:06 +01:00