From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00059.outbound.protection.outlook.com [40.107.0.59]) by dpdk.org (Postfix) with ESMTP id D46131C486 for ; Fri, 6 Jul 2018 10:12:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hi4vi5u7vMuf2CSyK9a2QP2KE5zbUf2pkBugQq4e50I=; b=U6On7i8aSn5JabJdjEqD+7mdMXeLBmeTpRs1pZmmDvqj1Q+30Mqt2wm0PsIP7wYmKatmZZf1XQ7wD9Yd16rEE4BSBKzEe+qBNpNXm7Vom9PAdbk+OjFhIQN/C2gD48KjD6USJ0M6rxoqOOKIhfYj6Au2wzo8Ix6na8Dw5u46X+s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.23; Fri, 6 Jul 2018 08:12:11 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Date: Fri, 6 Jul 2018 13:40:10 +0530 Message-Id: <1530864613-11754-13-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530864613-11754-1-git-send-email-hemant.agrawal@nxp.com> References: <1530697431-1244-1-git-send-email-hemant.agrawal@nxp.com> <1530864613-11754-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR01CA0076.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::16) To AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cc9d0a2b-f50a-456d-6654-08d5e3182d63 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0755; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 3:CrKIdDNPyUu8uxsHLz6YfG/zzoqrvLm06rLxM3KKuSs6zJkBXES2UdZOvRYBp2r/Virw6ggKsDbtl7CGt9kemU1vnuoMG9/LVkmobw1eHhFaWqZTq1C6KxmWc9AAI5powHKE70ohXZTJs1kRVvybRB6KSaguFCUFIO/Hz7Nb66d67pBJ41A3DmozQpONM4dMVwrFmHrd8oM7xF5lAhqIIqCwJydimMF/0A3Pyf9FzN4fH+IX+IuTYvJEF26sH2lV; 25:W4BYoHxWXhoxPSWDcvCs88mT/eKuQwZ6jzzrJVAJvh3Ue4vOgpCf5M364Rm/S+0h8gl7JuWeFogC+putiSnh/AiOjxexROvItkvmMsBc4uKF1HbqYSIInjS9s/xIfq//KOJUNLcprlGWr36hQYxnBfGc4fBnxp0ptYOXf7Y4H6b5oQYMMdtw1uTiJsAjsPIh9eXuv8fITEWF2Jks8eM60hiMXFWFl+ApIR+X56dYaBu7JfCmbpK0m2Run8nQXw3T1dvrPYApBcPesR4FfzHQot35wRfhjeDzEFyLrlsaWnFGOj7OhBngdY5aewaDOpb3tjZFOWIoXHe3clRNSH10Ow==; 31:+MR7e4ruZ2r40un+NeQb/SmTDSPoZz+ZjHQAUQzk9L/On1bV+adPE5BunFaJH6FeMJ3n+KkTAopR0xnXcQnaFhRnSfbx3V1LKuXCcqPAW5utNeEYfh/1Tg/Ft0jpfuWkfoikU/YC8UhxOrmicqy3/DLUk0A4wgnYR0pFBM4YQY8Wbdvn1cl4emZu/rswL/UjiG7Iak3JdfUBG1BTASxR5+KPhh990WJ799CIfzyN07U= X-MS-TrafficTypeDiagnostic: AM2PR04MB0755: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 20:3dQfz28EpCMDYx2Vz0dEftieQawxzTKrv3+blwiFERZ2fq10PNGzkEVFh2+WOkIOMFySkePevw5sQqB+iN0kr50FhJKcmM60QDlK2RaB8fv1EEALgHIoyY2joQjXk+1e7dHl4Bbqe/TP1JArkdn6htg7PggUUThUKObXlZ248WsRHnKI7QIIbSvZVXZO8w0DAqiDNMxv2/G3WqRpGpp0Kpv2b+hQHdB2VT/tLI2Axl66R5RH8IScyq3WcRQGMIKXcUWwyFR/T0AtMAHBFnNxIxGd8JvvDiNzqqe1Qs24XsZbhLvIU0SJPBOQvgYzFJHTUkbGrthyDz4+BWkuZptikDMGMHygUeeNAHmQxyuiegSCleOkjpUKn/9cRMNmSh4iyNdAoXGv5dl+FmILBEsHOdgcOxe7uvAtlIRGYMjma9TAc/5P2ry9TSoyHMOyu9uOAcWsWCwvXlEylqzf9/rWp1pWc3YMwXj5mLdzr39+3HVzncE73tQvIp/NByNdOMQF; 4:ZL8S5xqzADoZxRnF8YeCh4LGGLzIsrjkyn8byvLfdT6b6PcFPo8N7j1b2o0t1Sukp2crK1eyf88URIEW6/hI9TfilCRd/3BJ3TxynfEdmiMRiXGaMfHbrosx+bvaCjgAHeuU/Etxc266Yl6lCAApgNVnJCrrWnPZh/Jv0IbdABla6Vutb3Fw0/pK7hKhHr8qUE3nlukIKpTwhDBWObnQRPLMDNzmbJftUGxIhmBO188gQWaAdsfAtsXxDgxiICBXyg5EeRmyCJxjJ0bq3fV1V0soaC4nUpJBCvZNczcTajUNFnT0vGm8HRYs1cLhIqCJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:AM2PR04MB0755; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0755; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(366004)(346002)(376002)(199004)(189003)(956004)(66066001)(446003)(6116002)(2616005)(476003)(5009440100003)(6916009)(76176011)(186003)(16586007)(16526019)(105586002)(478600001)(86362001)(44832011)(106356001)(3846002)(4326008)(486006)(11346002)(6486002)(2906002)(25786009)(305945005)(47776003)(50466002)(2361001)(7736002)(5660300001)(6512007)(48376002)(8936002)(68736007)(36756003)(97736004)(55236004)(6506007)(53936002)(26005)(51416003)(50226002)(8676002)(2351001)(81156014)(81166006)(386003)(52116002)(316002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0755; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0755; 23:anWWw8VhgJ6MBXLcxvzcLnmmykmwlRUrvei0OUy3h?= =?us-ascii?Q?jiQ9M22lbReINjcphvSPqgT8d0HCRT1CAcAfObDG12ohO/YzTntuzob/Lb5c?= =?us-ascii?Q?DTjCpJHmPUrAUZZ+6dj5f7co1TwwmRGdLWo3tYobrThBtHGjofomqRMGvqoU?= =?us-ascii?Q?7wMRFjPOevhupUqy2mroBHEH4fT1cSf7Gr1tPZlOTdq2FnmLF6zBraJ5bphn?= =?us-ascii?Q?ewQhCj3GGwydBE+NEaL+TQxwrA+ePNdrPm7A8PwtpjpoJcZoTx/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c1ubtIYhfJFNehSbQ==; 5:/Gcx3xCJ80HwBQ0syCZ7xI84Sv4MtzX1QL8a0MNpSKPXmLqDKmm/tQCwQrRUgblhFuKrJHksF+I/joo8KqLDSpWPyycVXX0vXuMC+sGJfEtl/tba/m3W6WO8yII4kGzv+I7EcZlmYLO7MV9gJqCLnEf0dXj4Hc3c2Q0oNBKnp4U=; 24:JI72sq92rC0AP9CMn/fhleY6ug39iMlKxh42ZwYa6D7EWNBdhJ++ooNtBFYoLVh9fhD4/e43SscmSUtEzMY9XBPUO8kgoeLeAWPXgpk0XS8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 7:7LnXWAS8OvgxxLXIu+ke174dKnT8sreAbmHR1tFN+vHz7vYY2EOOeYGUpF/c6hwYf4mdVfaA55CIHowm1nHEWMRZQBZ29VBEHdxbzdkC/wjBgFM0Zqp/LbZR0IWF0rmsmszdEr0ncDOblDYjqh64bXDuq4ZWCZPNWMQO6wR+eKyF0cKa5S7YPojp9XhrUoslFITcT3jeNcDJCbpjr4FdwZshqFLetYxHadiNpXIh1ZvFh/hZQEoujiL7E3GBAgnn X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 08:12:11.5676 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc9d0a2b-f50a-456d-6654-08d5e3182d63 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0755 Subject: [dpdk-dev] [PATCH v3 13/16] drivers: support function name in logs trace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 08:12:15 -0000 Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_logs.h | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 2 +- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 2 +- drivers/net/dpaa2/dpaa2_pmd_logs.h | 2 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 2 +- drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_logs.h b/drivers/bus/fslmc/fslmc_logs.h index 9750b8c..dd74cb7 100644 --- a/drivers/bus/fslmc/fslmc_logs.h +++ b/drivers/bus/fslmc/fslmc_logs.h @@ -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) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h index 7c1f5e7..8a99044 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h @@ -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) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec_log.h b/drivers/crypto/dpaa_sec/dpaa_sec_log.h index 9784fcb..fb895a8 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec_log.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec_log.h @@ -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) diff --git a/drivers/event/dpaa2/dpaa2_eventdev_logs.h b/drivers/event/dpaa2/dpaa2_eventdev_logs.h index 48f1abd..a2c2060 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev_logs.h +++ b/drivers/event/dpaa2/dpaa2_eventdev_logs.h @@ -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) diff --git a/drivers/net/dpaa2/dpaa2_pmd_logs.h b/drivers/net/dpaa2/dpaa2_pmd_logs.h index 98a4896..c04babd 100644 --- a/drivers/net/dpaa2/dpaa2_pmd_logs.h +++ b/drivers/net/dpaa2/dpaa2_pmd_logs.h @@ -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) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h index 598a621..8991e83 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h @@ -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) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h b/drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h index fafe352..4779e4c 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h @@ -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) -- 2.7.4