From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4955A0597; Sat, 18 Apr 2020 00:00:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F4791EBDB; Fri, 17 Apr 2020 23:58:20 +0200 (CEST) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 3D6FF1EB90 for ; Fri, 17 Apr 2020 23:58:08 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200417215808euoutp02d2c69065c6b025fb80939b2f71ac4266~GujyWJv0o0278302783euoutp02d for ; Fri, 17 Apr 2020 21:58:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200417215808euoutp02d2c69065c6b025fb80939b2f71ac4266~GujyWJv0o0278302783euoutp02d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1587160688; bh=Vzvv/A3kKIKamyEfAdGkrG5mfGSYRlkoOOHsMjRI+kE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sTOkZoCnxT8vYgq/hQc9P8DmQX+D4j7eyuzeX5uQt0TKroK9ieQXB2/eqxf9feRFp llEH4faw6MYe1ABZuLV0i2F+Gb42pW8PxU6E4v3vyiXIV3L4a20U00X5FnEDbTRFIC xqwV8iRpV5dhW536lkNTpEFYeHrEPDtI5hY2flNM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20200417215807eucas1p270a501722da000edf275d4e2e9fc1624~GujxmnI5J2665726657eucas1p2I; Fri, 17 Apr 2020 21:58:07 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 1D.FF.61286.F662A9E5; Fri, 17 Apr 2020 22:58:07 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200417215806eucas1p1df0cf8a6cfe65dd687dde9056854bbad~Gujw5Qt3U0152001520eucas1p13; Fri, 17 Apr 2020 21:58:06 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200417215806eusmtrp162fdeea371bab07f3f4a66048c5e25ea~Gujw4vgxO0397603976eusmtrp1t; Fri, 17 Apr 2020 21:58:06 +0000 (GMT) X-AuditID: cbfec7f2-f0bff7000001ef66-5a-5e9a266f6aea Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 90.62.07950.E662A9E5; Fri, 17 Apr 2020 22:58:06 +0100 (BST) Received: from localhost.localdomain (unknown [106.210.88.70]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200417215805eusmtip2942d0674b759a8cccc822d1e6c113b3f~GujwZs9Pe0325203252eusmtip2v; Fri, 17 Apr 2020 21:58:05 +0000 (GMT) From: Lukasz Wojciechowski To: Thomas Monjalon , David Hunt Cc: dev@dpdk.org Date: Fri, 17 Apr 2020 23:57:34 +0200 Message-Id: <20200417215739.23180-13-l.wojciechow@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200417215739.23180-1-l.wojciechow@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsWy7djP87r5arPiDD728Fj0TfrIZPHu03Ym i08PTrA4MHv8WrCU1WPxnpdMHsduTmMPYI7isklJzcksSy3St0vgyji1fhpTQTNvxaHtrxkb GJu4uxg5OSQETCSuvu1jBrGFBFYwSvxoU+xi5AKyvzBKrLh+khnC+cwocfz/QRaYjmWLt7FA dCxnlDjWIA9X1Nm1nAkk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03OLjfSKE3OLS/PS9ZLzczcxAsNu27Gf W3Ywdr0LPsQowMGoxMNr0DMzTog1say4MvcQowQHs5II70E3oBBvSmJlVWpRfnxRaU5q8SFG U6CbJjJLiSbnA2MiryTe0NTQ3MLS0NzY3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QD Y4Ah95vn/JpxdauuPjSb93vywYen3K/Unt3P2hz5tyYxLeDGhooF9+w0vzx75rdJJH/lkhOh X4XVP/w47fi4oeRy+uIXlxb/Lyy42cKRa3bmQWVNezr3No410+Ksv00ySWM+XF2qrJvY+lej 9eyj71/6lj889oGXXedd9KumJwvZjPZuWPqlvkWJpTgj0VCLuag4EQBEliZmUQIAAA== X-CMS-MailID: 20200417215806eucas1p1df0cf8a6cfe65dd687dde9056854bbad X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200417215806eucas1p1df0cf8a6cfe65dd687dde9056854bbad X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200417215806eucas1p1df0cf8a6cfe65dd687dde9056854bbad References: <20200417215739.23180-1-l.wojciechow@partner.samsung.com> Subject: [dpdk-dev] [PATCH v1 12/17] power: replace library debug flag with global one 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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(-) diff --git a/config/common_base b/config/common_base index b975a1feb..5863b4327 100644 --- a/config/common_base +++ b/config/common_base @@ -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 # diff --git a/lib/librte_power/power_acpi_cpufreq.c b/lib/librte_power/power_acpi_cpufreq.c index f443fce69..d5791699d 100644 --- a/lib/librte_power/power_acpi_cpufreq.c +++ b/lib/librte_power/power_acpi_cpufreq.c @@ -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) diff --git a/lib/librte_power/power_pstate_cpufreq.c b/lib/librte_power/power_pstate_cpufreq.c index 2d8a9499d..0e522f768 100644 --- a/lib/librte_power/power_pstate_cpufreq.c +++ b/lib/librte_power/power_pstate_cpufreq.c @@ -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) -- 2.17.1