drivers: support function name in NXP logs
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 6 Jul 2018 08:10:10 +0000 (13:40 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 12:41:28 +0000 (14:41 +0200)
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/fslmc/fslmc_logs.h
drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h
drivers/crypto/dpaa_sec/dpaa_sec_log.h
drivers/event/dpaa2/dpaa2_eventdev_logs.h
drivers/net/dpaa2/dpaa2_pmd_logs.h
drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h
drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h

index 9750b8c..dd74cb7 100644 (file)
@@ -18,7 +18,7 @@ extern int dpaa2_logtype_bus;
        rte_log(RTE_LOG_DEBUG, dpaa2_logtype_bus, "fslmc: %s(): " fmt "\n", \
                __func__, ##args)
 
-#define BUS_INIT_FUNC_TRACE() DPAA2_BUS_LOG(DEBUG, " >>")
+#define BUS_INIT_FUNC_TRACE() DPAA2_BUS_DEBUG(" >>")
 
 #define DPAA2_BUS_INFO(fmt, args...) \
        DPAA2_BUS_LOG(INFO, fmt, ## args)
index 7c1f5e7..8a99044 100644 (file)
@@ -18,7 +18,7 @@ extern int dpaa2_logtype_sec;
        rte_log(RTE_LOG_DEBUG, dpaa2_logtype_sec, "dpaa2_sec: %s(): " \
                fmt "\n", __func__, ##args)
 
-#define PMD_INIT_FUNC_TRACE() DPAA2_SEC_LOG(DEBUG, " >>")
+#define PMD_INIT_FUNC_TRACE() DPAA2_SEC_DEBUG(">>")
 
 #define DPAA2_SEC_INFO(fmt, args...) \
        DPAA2_SEC_LOG(INFO, fmt, ## args)
index 9784fcb..fb895a8 100644 (file)
@@ -18,7 +18,7 @@ extern int dpaa_logtype_sec;
        rte_log(RTE_LOG_DEBUG, dpaa_logtype_sec, "dpaa_sec: %s(): " \
                fmt "\n", __func__, ##args)
 
-#define PMD_INIT_FUNC_TRACE() DPAA_SEC_LOG(DEBUG, " >>")
+#define PMD_INIT_FUNC_TRACE() DPAA_SEC_DEBUG(" >>")
 
 #define DPAA_SEC_INFO(fmt, args...) \
        DPAA_SEC_LOG(INFO, fmt, ## args)
index 48f1abd..a2c2060 100644 (file)
@@ -16,7 +16,7 @@ extern int dpaa2_logtype_event;
        rte_log(RTE_LOG_DEBUG, dpaa2_logtype_event, "dpaa2_event: %s(): " \
                fmt "\n", __func__, ##args)
 
-#define EVENTDEV_INIT_FUNC_TRACE() DPAA2_EVENTDEV_LOG(DEBUG, " >>")
+#define EVENTDEV_INIT_FUNC_TRACE() DPAA2_EVENTDEV_DEBUG(" >>")
 
 #define DPAA2_EVENTDEV_INFO(fmt, args...) \
        DPAA2_EVENTDEV_LOG(INFO, fmt, ## args)
index 98a4896..c04babd 100644 (file)
@@ -16,7 +16,7 @@ extern int dpaa2_logtype_pmd;
        rte_log(RTE_LOG_DEBUG, dpaa2_logtype_pmd, "dpaa2_net: %s(): "\
                fmt "\n", __func__, ##args)
 
-#define PMD_INIT_FUNC_TRACE() DPAA2_PMD_LOG(DEBUG, " >>")
+#define PMD_INIT_FUNC_TRACE() DPAA2_PMD_DEBUG(">>")
 
 #define DPAA2_PMD_CRIT(fmt, args...) \
        DPAA2_PMD_LOG(CRIT, fmt, ## args)
index 598a621..8991e83 100644 (file)
@@ -19,7 +19,7 @@ extern int dpaa2_cmdif_logtype;
        rte_log(RTE_LOG_DEBUG, dpaa2_cmdif_logtype, "dpaa2_cmdif: %s(): " \
                fmt "\n", __func__, ## args)
 
-#define DPAA2_CMDIF_FUNC_TRACE() DPAA2_CMDIF_LOG(DEBUG, ">>")
+#define DPAA2_CMDIF_FUNC_TRACE() DPAA2_CMDIF_DEBUG(">>")
 
 #define DPAA2_CMDIF_INFO(fmt, args...) \
        DPAA2_CMDIF_LOG(INFO, fmt, ## args)
index fafe352..4779e4c 100644 (file)
@@ -19,7 +19,7 @@ extern int dpaa2_qdma_logtype;
        rte_log(RTE_LOG_DEBUG, dpaa2_qdma_logtype, "dpaa2_qdma: %s(): " \
                fmt "\n", __func__, ## args)
 
-#define DPAA2_QDMA_FUNC_TRACE() DPAA2_QDMA_LOG(DEBUG, ">>")
+#define DPAA2_QDMA_FUNC_TRACE() DPAA2_QDMA_DEBUG(">>")
 
 #define DPAA2_QDMA_INFO(fmt, args...) \
        DPAA2_QDMA_LOG(INFO, fmt, ## args)