numam-dpdk/examples
Olivier Matz 5d8f0baf69 log: do not drop debug logs at compile time
Today, all logs whose level is lower than INFO are dropped at
compile-time. This prevents from enabling debug logs at runtime using
--log-level=8.

The rationale was to remove debug logs from the data path at
compile-time, avoiding a test at run-time.

This patch changes the behavior of RTE_LOG() to avoid the compile-time
optimization, and introduces the RTE_LOG_DP() macro that has the same
behavior than the previous RTE_LOG(), for the rare cases where debug
logs are in the data path.

So it is now possible to enable debug logs at run-time by just
specifying --log-level=8. Some drivers still have special compile-time
options to enable more debug log. Maintainers may consider to
remove/reduce them.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-12-01 18:09:13 +01:00
..
bond remove unused ring includes 2016-09-16 10:16:02 +02:00
cmdline
distributor log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
dpdk_qat remove unused ring includes 2016-09-16 10:16:02 +02:00
ethtool ethdev: get registers width 2016-07-10 14:55:42 +02:00
exception_path remove unused ring includes 2016-09-16 10:16:02 +02:00
helloworld
ip_fragmentation remove unused ring includes 2016-09-16 10:16:02 +02:00
ip_pipeline examples/ip_pipeline: fix build with gcc 6 2016-10-25 16:30:52 +02:00
ip_reassembly remove unused ring includes 2016-09-16 10:16:02 +02:00
ipsec-secgw log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
ipv4_multicast remove unused ring includes 2016-09-16 10:16:02 +02:00
kni remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd examples/l2fwd: add option --[no-]mac-updating 2016-10-13 14:37:48 +02:00
l2fwd-cat
l2fwd-crypto examples/l2fwd-crypto: fix verify with decrypt in chain 2016-10-13 21:58:44 +02:00
l2fwd-jobstats remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd-keepalive remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd examples/l3fwd: use accelerated CRC on ARM 2016-10-25 18:49:18 +02:00
l3fwd-acl remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-power remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-vf remove unused ring includes 2016-09-16 10:16:02 +02:00
link_status_interrupt remove unused ring includes 2016-09-16 10:16:02 +02:00
load_balancer remove unused ring includes 2016-09-16 10:16:02 +02:00
multi_process remove unused ring includes 2016-09-16 10:16:02 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
performance-thread remove unused ring includes 2016-09-16 10:16:02 +02:00
ptpclient mk: fix link with glibc < 2.17 2016-07-25 17:54:57 +02:00
qos_meter examples/qos_meter: check flow configuration error 2016-05-16 18:49:12 +02:00
qos_sched examples/qos_sched: fix dequeue from ring 2016-10-13 14:37:48 +02:00
quota_watermark log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
rxtx_callbacks
skeleton
tep_termination log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
timer
vhost log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
vhost_xen log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00