From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 4/5] log: add ability to match dynamic log based on shell pattern Date: Wed, 25 Apr 2018 02:02:20 +0200 Message-ID: <2897485.iSYBI3UIWR@xps> References: <20180424165808.23292-1-stephen@networkplumber.org> <20180424165808.23292-5-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Stephen Hemminger Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 83DB7A69 for ; Wed, 25 Apr 2018 02:02:22 +0200 (CEST) In-Reply-To: <20180424165808.23292-5-stephen@networkplumber.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 24/04/2018 18:58, Stephen Hemminger: > /* enable all PMD logs (whose identifier string starts with "pmd") */ > - rte_log_set_level_regexp("pmd.*", RTE_LOG_DEBUG); > + rte_log_set_level_match("pmd.*", RTE_LOG_DEBUG); The function name in the doc above does not match (sic) the new function name below. [...] > +int rte_log_set_level_pattern(const char *pattern, uint32_t level);