Use global debug flag RTE_DEBUG instead of RTE_LIBRTE_POWER_DEBUG.
The old define is completely removed from source code and config.
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
---
config/common_base | 1 -
lib/librte_power/power_acpi_cpufreq.c | 2 +-
lib/librte_power/power_pstate_cpufreq.c | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
@@ -941,7 +941,6 @@ CONFIG_RTE_LIBRTE_ACL=y
# Compile librte_power
#
CONFIG_RTE_LIBRTE_POWER=n
-CONFIG_RTE_LIBRTE_POWER_DEBUG=n
CONFIG_RTE_MAX_LCORE_FREQS=64
#
@@ -20,7 +20,7 @@
#include "power_acpi_cpufreq.h"
#include "power_common.h"
-#ifdef RTE_LIBRTE_POWER_DEBUG
+#ifdef RTE_DEBUG
#define POWER_DEBUG_TRACE(fmt, args...) do { \
RTE_LOG(ERR, POWER, "%s: " fmt, __func__, ## args); \
} while (0)
@@ -23,7 +23,7 @@
#include "power_common.h"
-#ifdef RTE_LIBRTE_POWER_DEBUG
+#ifdef RTE_DEBUG
#define POWER_DEBUG_TRACE(fmt, args...) do { \
RTE_LOG(ERR, POWER, "%s: " fmt, __func__, ## args); \
} while (0)