numam-dpdk/config
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
..
common_base log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
common_bsdapp config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00
common_linuxapp net/virtio-user: add vhost-user adapter layer 2016-06-22 09:47:12 +02:00
defconfig_arm64-armv8a-linuxapp-gcc net/i40e: implement vector PMD for ARM 2016-10-26 19:38:00 +02:00
defconfig_arm64-dpaa2-linuxapp-gcc mk: introduce NXP dpaa2 architecture based on armv8-a 2016-05-18 16:28:45 +02:00
defconfig_arm64-thunderx-linuxapp-gcc net/thunderx: add PMD skeleton 2016-06-20 17:21:54 +02:00
defconfig_arm64-xgene1-linuxapp-gcc config: use armv8a as base for arm64 targets 2015-12-02 23:22:09 +01:00
defconfig_arm-armv7a-linuxapp-gcc config: disable qede for ARMv7 2016-05-13 17:38:08 +02:00
defconfig_i686-native-linuxapp-gcc crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
defconfig_i686-native-linuxapp-icc crypto/zuc: add driver for ZUC library 2016-10-08 17:53:10 +02:00
defconfig_ppc_64-power8-linuxapp-gcc config: enable packet framework on ppc64le 2016-09-09 17:56:25 +02:00
defconfig_tile-tilegx-linuxapp-gcc mk: support native build on TILE-Gx 2016-03-16 15:24:38 +01:00
defconfig_x86_64-native-bsdapp-clang config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-bsdapp-gcc config: fix missing 64-bit flag on FreeBSD 2016-03-04 23:46:54 +01:00
defconfig_x86_64-native-linuxapp-clang config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_64-native-linuxapp-icc config: add a common x86 flag 2016-02-11 12:45:31 +01:00
defconfig_x86_x32-native-linuxapp-gcc config: add a common x86 flag 2016-02-11 12:45:31 +01:00