From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0067.outbound.protection.outlook.com [104.47.32.67]) by dpdk.org (Postfix) with ESMTP id 33420235 for ; Wed, 22 Nov 2017 10:28:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eJN+CS4tP6kf4klYAJW87OiUir17zfa8IwIpNHIuE/I=; b=W3opK2eh+SY9eLg2CA+Jf/okkh7Zcjaq4TjFrRjMG6tMq9VlnaPXEosd1pyM0rL/wOJJlQcVk2H2SDOqCgefbxHuiUg8eJ8/mX+o3s8SWHY/XPO0f2Oimdnjq0Mi/Gnu6npPfDLJu+/p6d+vlV7jy5anxnh6kOWs5s959Mb5PyU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT.caveonetworks.com (111.93.218.67) by DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Wed, 22 Nov 2017 09:28:27 +0000 From: Pavan Nikhilesh To: ferruh.yigit@intel.com, olivier.matz@6wind.com, thomas@monjalon.net Cc: dev@dpdk.org, Pavan Nikhilesh Date: Wed, 22 Nov 2017 14:58:04 +0530 Message-Id: <20171122092806.17194-1-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: CY1PR07CA0002.namprd07.prod.outlook.com (10.166.202.12) To DM5PR07MB3468.namprd07.prod.outlook.com (10.164.153.23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ebf9677-9d95-4886-d01b-08d5318b6428 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600022)(4604075)(2017052603258); SRVR:DM5PR07MB3468; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 3:ZlfZOuDA67nA+2LnxC1vggrcCqUHZS7ESywlJIhhPvKoGo0hkIG4Xoj1y4XKT0VXqvipCqenNNlCxo7VSKM0Ktyjlif4q+f4LpY4BKZjgUzc2BL/L1veDgJ09LolRoq3wiu15dixPTdrqP9aEPy20EZk3euSNdADX6prM3SI5BPWal1guC99+bUE7n9OHP4kKIYNjgZCoJ5S3HZLF7LldWPBv3ijI4vlfXozZ+RWzhh+ubhfbvDj2b2A7y8EJ3lU; 25:T1YUMzlmVXU+mO5poysmDqjBV5qD4wHorsXk7Yt0OG2QVQb2xc3Anpced6Ks8w9FlDdlZCggUn0W30Kp+xj6La0h2teq4nAFDHWZdxjx8fAyCvjMam0X0QwJ9+h32hOka/YOEth8U6Y0XGfH/8N99cFdjSF/+A2f8sPQ0Au0LRF66toMRoQof9xlRffCCrmeCfbxC0qGUnNYrOijgkYTLZpgVYQrzjrZ8T88Iq4JnW0aRboO3Bo4NemsoU2rvo921Rl9p0U3aqg1Bnwu9dvtjvXg/ZLTaeBBihyWxbsUM4ahQTupUZ/WcIJ8tpa4RRGC686S6aeOiZqhwLwRfMpaNQ==; 31:9CiyV6U2ZAvnafB1OJIjHKmBw8G7oMI+6qSNkM3W5OF6Ce1mhiWDW+Naks3qyZn7o9kGJWFqEM+G+w0Xi3mjQV3lRdSURJFi8olUGAf0Peixt5DDDJJmLS0+4HWrEBKot1e16tW72oZwOPps7WMOARtyPP6DES4g8H+KPGLrGuh6ulL0CkNiP9HQ92/mZAOM047dxy3NAzfnSdUBAcrLfRStsjXI2eLpIDAQi5iwuAQ= X-MS-TrafficTypeDiagnostic: DM5PR07MB3468: X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 20:CKFiBFvl2U7kRCwIotgW41YEY1b9Rj6di5J5JpXWIax94L2zTr5R+vc11SyPg/Va3NIf57bEb1Ba75wz/wJ94K2XpYqVM1zxJUzuusejRYn6Kwqkf0P9FFtLF7CBCiJJ3JivEnblkke1mEeu7YabnmAImq01O09sytsBb/fwq6UArwzndJfTqsDInJPUjagK9XWaODN5SiHFnIMB1H1JfSZwAIpveXEA2dsC5thdO+Xq2CimCoRmhMipZhMPe7s3z3kVpYOnYzSnF14eMjB4knb+Jt9fwvXY88hJSTGoelxcVsh0j95wsG6aK2YOeh7ux+klkxfKAV8p92l80kPQF0G+9gQtAdr7dxw/QXfNXwiBWCMolbnuPQgUQCsED79VjTAjChZP3nuZjdoq8utZc5mBFZfB8esD0+59yjiryEK86tPE6L/bBQcHGT11ii1y2O/c32zwdWSyzfmuA1UC5KZ9JojEjob9qGPftPm6DtcY8OLHAd7KGCzNU6qd4hWaFE3vz9MTc2pX6xQxAwFrr5qCaTiqYplg9CD/D5o7vpBfWCHOWmBpeTxOusfXidesQ6I73BMx5F5aYRJDo50CZE+Tz5OZc4OkPfOvbv0AcKg=; 4:jf411XAlNdPz6ol6IEGINZ7Q6iSJiY8xUKEl51NXKsqaYC06Tw3jZaq1zqLnWOXAL8GVVjJgiKamMzDd7CTCawm/uOPpIdERnGb/TyKCiSjdNgngy9XhEYfZdb2j6JGxj9EzFXoIfOKdbSGzHpvLj2eHI3ggl9ESIzWJP0DAw2GKtKh6g+gRaAEwT7JRpDTWq1+V/zrJBf1WDT+LT1w2Lf1xRbxMthss50GreqjL6xsKCRAUwi1qnxAQtksztWwLnPMoD/4cmsoEzF+o+1f8yg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(3231022)(6041248)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3468; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3468; X-Forefront-PRVS: 0499DAF22A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(189002)(199003)(66066001)(81166006)(97736004)(8676002)(50466002)(68736007)(47776003)(6666003)(42882006)(50986999)(15650500001)(101416001)(5003940100001)(2420400007)(50226002)(2906002)(81156014)(69596002)(6486002)(305945005)(4326008)(36756003)(105586002)(106356001)(53376002)(6512007)(6306002)(33646002)(48376002)(107886003)(5009440100003)(53936002)(6506006)(10710500007)(7736002)(478600001)(8936002)(7110500001)(72206003)(189998001)(16526018)(966005)(5660300001)(16586007)(316002)(53416004)(1076002)(3846002)(6116002)(25786009)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3468; H:Pavan-LT.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3468; 23:SF6b4olvCUO9v6Fr1tXkFanmNZD37i0GQUeCcDwxb?= =?us-ascii?Q?itNPraftkxyD9dsF0aHS9KOdt3k/3hLaWsh/vgDFI0+HYwTxU84f093i+GDz?= =?us-ascii?Q?hhScjRkv2Vg6VX0jJMFAJoe1lZegIRuN1fJawK4QWYrw2dGLwE+DKv0OweWh?= =?us-ascii?Q?KfzPwb56Lax/YjnhsbMs7Ev7IRXn2TdEBkCTNDCu7mWw1GP12EQPorAQiX9H?= =?us-ascii?Q?boWLd7GAptSoxDKcv6qlkGAmXtgDquhfgUQyrivm+iDALpAjEmNwNA28H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2vJaN+djNtfIpqdIMYn/pEOgGG0NOqxH9QeAvXI6swJcpYuAXSF1icTCfURwrc41VLXHKF4WYm5E SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2017 09:28:27.5123 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ebf9677-9d95-4886-d01b-08d5318b6428 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3468 Subject: [dpdk-dev] [PATCH 1/3] eal: update legacy modules dynamic logs regex 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, 22 Nov 2017 09:28:31 -0000 Update legacy log types regex strings used for registering dynamic logs. Signed-off-by: Pavan Nikhilesh --- Note: This patchset is based on patch set http://dpdk.org/dev/patchwork/patch/31443/ followed by ml discussion http://dpdk.org/ml/archives/dev/2017-November/081953.html lib/librte_eal/common/eal_common_log.c | 39 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c index e894b75ec..fa9ac7247 100644 --- a/lib/librte_eal/common/eal_common_log.c +++ b/lib/librte_eal/common/eal_common_log.c @@ -219,26 +219,27 @@ struct logtype { }; static const struct logtype logtype_strings[] = { - {RTE_LOGTYPE_EAL, "eal"}, - {RTE_LOGTYPE_MALLOC, "malloc"}, - {RTE_LOGTYPE_RING, "ring"}, - {RTE_LOGTYPE_MEMPOOL, "mempool"}, - {RTE_LOGTYPE_TIMER, "timer"}, + {RTE_LOGTYPE_EAL, "lib.eal"}, + {RTE_LOGTYPE_MALLOC, "lib.malloc"}, + {RTE_LOGTYPE_RING, "lib.ring"}, + {RTE_LOGTYPE_MEMPOOL, "lib.mempool"}, + {RTE_LOGTYPE_TIMER, "lib.timer"}, {RTE_LOGTYPE_PMD, "pmd"}, - {RTE_LOGTYPE_HASH, "hash"}, - {RTE_LOGTYPE_LPM, "lpm"}, - {RTE_LOGTYPE_KNI, "kni"}, - {RTE_LOGTYPE_ACL, "acl"}, - {RTE_LOGTYPE_POWER, "power"}, - {RTE_LOGTYPE_METER, "meter"}, - {RTE_LOGTYPE_SCHED, "sched"}, - {RTE_LOGTYPE_PORT, "port"}, - {RTE_LOGTYPE_TABLE, "table"}, - {RTE_LOGTYPE_PIPELINE, "pipeline"}, - {RTE_LOGTYPE_MBUF, "mbuf"}, - {RTE_LOGTYPE_CRYPTODEV, "cryptodev"}, - {RTE_LOGTYPE_EFD, "efd"}, - {RTE_LOGTYPE_EVENTDEV, "eventdev"}, + {RTE_LOGTYPE_HASH, "lib.hash"}, + {RTE_LOGTYPE_LPM, "lib.lpm"}, + {RTE_LOGTYPE_KNI, "lib.kni"}, + {RTE_LOGTYPE_ACL, "lib.acl"}, + {RTE_LOGTYPE_POWER, "lib.power"}, + {RTE_LOGTYPE_METER, "lib.meter"}, + {RTE_LOGTYPE_SCHED, "lib.sched"}, + {RTE_LOGTYPE_PORT, "lib.port"}, + {RTE_LOGTYPE_TABLE, "lib.table"}, + {RTE_LOGTYPE_PIPELINE, "lib.pipeline"}, + {RTE_LOGTYPE_MBUF, "lib.mbuf"}, + {RTE_LOGTYPE_CRYPTODEV, "lib.cryptodev"}, + {RTE_LOGTYPE_EFD, "lib.efd"}, + {RTE_LOGTYPE_EVENTDEV, "lib.eventdev"}, + {RTE_LOGTYPE_GSO, "lib.gso"}, {RTE_LOGTYPE_USER1, "user1"}, {RTE_LOGTYPE_USER2, "user2"}, {RTE_LOGTYPE_USER3, "user3"}, -- 2.14.1