From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30065.outbound.protection.outlook.com [40.107.3.65]) by dpdk.org (Postfix) with ESMTP id AA8D41BE7B for ; Wed, 4 Jul 2018 11:45:40 +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=T0l2AwVpp1WBPQXs66nBr/cWzAH+4sLXkqH9Qe9+uMg=; b=K5CbB/xNefIIEnKziMESDyi8iHqw8T911HazbdUZETtxaQ95JSSjiHV5CJ6fGoHQCP3s3xEGmgkWdUJGIIvTLa5nyB1G2zZTtEE9T7vraZTZF8LXp0778kbNSx1FMvZfR9CyTT5rfoc7i+QTvp01ZdYF1ZeBvJqI+Qs4V51M/zk= 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 DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.25; Wed, 4 Jul 2018 09:45:39 +0000 From: Hemant Agrawal To: dev@dpdk.org Date: Wed, 4 Jul 2018 15:13:48 +0530 Message-Id: <1530697431-1244-13-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530697431-1244-1-git-send-email-hemant.agrawal@nxp.com> References: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> <1530697431-1244-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: BM1PR0101CA0008.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::18) To DB4PR04MB0765.eurprd04.prod.outlook.com (2a01:111:e400:984d::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2236b62a-1736-420c-a1c7-08d5e192e6e2 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:DB4PR04MB0765; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 3:F/jvqXqyarekuSUEjamdHNh/70Far58ajZgaICqd+68cExuUHYYE8OWlNupO+rWOOvC/0hL+3a4cBaHN6V1zVff9FsQKQUlXaxNMKPCaMfYhn332ySPfyrYfjk0jg+QKJUV/r70xR1miNodYUhaBVKZ3+OmQdju76fP7X2iqMwSHju8D3hBARmXLmSZtUPavgEjlqVTUOv1g/lCfFhiB+lu4MGQ5RGYpVbxuJDe9eCIk34WAosbsgPud6N3OYiAv; 25:6Q2zLVWZzAoWn9n12LHUcyqpROuvdY8s8UjHg3xcWEJrdiwPTNOBaodVolU+Zv4UdZoZtbjBMCuIYP9KwoOImP1e57Fky4Dd9pv09uvyqKmVqgCvKSfEqNSx1AqbGLY07AcNFEC1LBdryI+r+pFvFfpr/hoyCokeQDy/DPHwIgPA60l4RKU3aAUwdShv+oDOcpSPbynOeO7gRY/jchcn/KZ9aCmJP6AKqH0Hq/B9Nr0JhYERFpzOGpVyTpfaFsbcz1dLDE8m+FCgLGoRnXU6Eq59ug3E8IJEjrtZJu9rWEaBH0zHfILg4AxLDwovvksPQfldRp9pO/XSl17CIljU9w==; 31:egMYLzovNMaCGi133Go9X/I7ap39IQHVgI6uk8e37DQDSmtuv2D8DWvL2DePxPLTbmcAFbydtcnxkI/0TUgvymOEZoaOjw/fMpAwfaoQZKQ/p1FI1vKNta0neafVeSR96Umjm0Q+2ZIsXLn74HYbK3a/dXDakVEw7gZS3ss348shMvDTNRz782dONT/TqDD6l7AcU0yh3i0dXpu57G70sx3hlgQswkUqc0PX6IJLpwo= X-MS-TrafficTypeDiagnostic: DB4PR04MB0765: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 20:5hhwypJmjer2UE0Fz06kUiWX6cXkF7PdVJGqWXRdlWxHPHFd4TwqpNp4b48SbOVn8ypwdd/kGMuqNl01hZPAcDGUXgU/Nfju02NmVlN8y/8yFhjX97yMBlvS5tvPY5IP2bZ2gv6YY/Oj2UZjYeQN7HqYdb2sOETKZ/6RYe8qD9+bfLijajhK1usunHR4fExXByfrOlOstEhtfVL1byjeHB8uO0DSR8w3jVjTsmahB2g3LfbfZyRsXQL6HTLjwPdhqV95xLG+Dv/UaU05t1V26sds48PsoO76AjQrDS/EDjiX+pNm7jC6gL/z8oiz/C++VjPwho301KS7IgAIqGg+owt0XjeJY3UD5xTL5P909drEDdLeutBa8HyeEnlRIVGAcMT64oacmdisjTIB5xoksCDzj8K6x4xfZfeweOzr6uSGNwl9q4lP1ByXSGwZ24Rjvsl9DlmJKX2BSdAfVAP/RUc4kJ/7TLBYQa2+J84ZEe/T7Q7ehYG97TN+3kDGbCuJ; 4:IggU7sc6zalN6rkfnqES4XdVzyrAG5OEg1WiU9sDLekInW4o6IypNW34J3IzD49wjbWmVQ+f+c7Un/DfJlgXCIopcdoSC0QNanJbKy8n8PNNVKv7o7qBqLF4DlVXBg59f4ryak+/5P+t8IKEVnVvhBfr4NNgtTQDILfgDEDpPG123yMokRKRaJuat8ZLqzByextTtKZ9054vfZu1lL/PjUC0UjJ1m87VUyYtTDp6+8s/unCVpyfnXntVH0L5f936ayt3s1iB8OGqe9B8QQzXLaX06KyaChPBGPd74wV83g0uwXZk9WYh54Ex6oycHpUL 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)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB4PR04MB0765; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0765; X-Forefront-PRVS: 0723A02764 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(1496009)(396003)(39860400002)(376002)(136003)(346002)(366004)(199004)(189003)(6512007)(11346002)(476003)(386003)(6506007)(55236004)(956004)(2616005)(5660300001)(44832011)(105586002)(68736007)(16526019)(53936002)(446003)(50226002)(316002)(6666003)(5009440100003)(36756003)(16586007)(2351001)(6916009)(106356001)(186003)(86362001)(26005)(6486002)(97736004)(305945005)(81166006)(7736002)(8936002)(66066001)(8676002)(478600001)(25786009)(51416003)(486006)(76176011)(3846002)(6116002)(81156014)(48376002)(50466002)(52116002)(2906002)(47776003)(2361001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0765; 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; DB4PR04MB0765; 23:DDfeIcZ7TdXjjhHxWrqoiRQqXrdYDROaPmETVtabV?= =?us-ascii?Q?kYTdR9w+EktnrUe/Nm6lOtNiAYSRPpW/Fb27G5LlSUCeAoUO96CHYo9KbFUA?= =?us-ascii?Q?VzsWvBOG7eJdQT4QkYn+abf+vlQ7Z9GdBzi1fyDFAFIcYmqiBc1v7fN3dTgR?= =?us-ascii?Q?rJ6/K/S822PUEtxxZSy7GkbuETKzQbFNVqrR+X/f3DlzDs0UOHCVsMA4BQNj?= =?us-ascii?Q?juknOioSQuYuttM3dpiUySdbkRKRq2R7BwRgod1cyGoYcq/vYrXWqtBFaw3I?= =?us-ascii?Q?2e+FMYqvECdfJCx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HwMxnLufTtibXNQA==; 5:tWu4oWtWEFZ+QhY7YKZ9n3NY04A1sclRikmme8mjqPld6VwjG35FNm/vthRO8Eq/fsd7WBiQ3dt48Liw/icuREtUkwv174SmysyraWRKGnlzazFDFNQ7Bp1GKshG6LQNcDsVtnhq2kAGaORZv4DcEZca8oY5asYVuQdamQVZBGM=; 24:fwy5grxndcApU8wT51jTxanVwTMcmKmip0zB9ZhFqNRfS/VP5kjCBSY2FcgCM0p9ecZnKdN2gnZKd7J/2PCTPVThqil8h76XBvXE8UlN4vA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0765; 7:eLhLHYaUuolagCNUT4M8+RLjRuIwuNmM+XmiDkwDlqGnBw4jsNQxcGtt/krich7paRqOEFwq26yUy8hwIN8Hnyt09mZTL8fj/Sn5K7FGwXUMf0Y2sPtzIJZa6Q77wk22aK6Bs43qbXXQ7btH33z9C2ZZz0dKUZtVfNo1dqcAH2WW5pJMLyvLf/eLGlFVpO3DG7UCJqHMRYwfL0JUp8HmucmYDlgAqUx7JlxJnvovzxDLITOBrsf1G59aqLsKORCc X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2018 09:45:39.3356 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2236b62a-1736-420c-a1c7-08d5e192e6e2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0765 Subject: [dpdk-dev] [PATCH v2 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: Wed, 04 Jul 2018 09:45:41 -0000 Signed-off-by: Hemant Agrawal --- 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