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 95D21A0589; Fri, 27 Mar 2020 11:24:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 005C81BFDC; Fri, 27 Mar 2020 11:24:12 +0100 (CET) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by dpdk.org (Postfix) with ESMTP id E9F391BFD9 for ; Fri, 27 Mar 2020 11:24:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585304650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G+nheeq37Egh4Px1JTTGrhfoLZYRh8uEY3JQ5/Dp9r0=; b=TSyOqsQ45BWPtQ9OGl6cP2erHbwBeC0teX7fZlIT44moxL4yVKJIdIYVGQswwevW+53DBH YaqAbGLz7fkJvIk9B2Mu35JHdcZuowKGMdnbukpXbnvsYSQTfn5m49Z5keCkp0MXIFULWM 3B00GHF+wcsz0SbWmAgl3pswHYfLa7Q= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-476-09gAhwNRMZ-hVPYotKPN_A-1; Fri, 27 Mar 2020 06:24:06 -0400 X-MC-Unique: 09gAhwNRMZ-hVPYotKPN_A-1 Received: by mail-vs1-f72.google.com with SMTP id 127so1992081vsh.3 for ; Fri, 27 Mar 2020 03:24:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+vpKQ459tPZh5OpXWqPmNZ7GoYh8NjwKw2hT+3o6ctQ=; b=OMeQKCEGexanqQzz5ZCZdPio5HicSblNp+j4kdR7ME/ejIoSoEGaq2wS9jzEcAi9yt TtzZMCFnKlX5UXsDfZNrjjI5fmzXAlgI1wQ982cpW0tp9qhtRduegSKfcbgAuf5G7xOO kMpnIVpyvNXPndTWcPlzq+/PWc3juNyMmfxLTsB9EzBEVdQ5MQDPOo/BFesQqRvQ+Isq W6T7hZpQwVRmMw4wQ/wx60X1lyX11tBVa3BaOWKUogmfXSS1xeEqPS6P2P2pZKc3vxy0 MQ12w3kKjqtyCzhvm6km7ajC2X7cxxMUzJTyS0w3KJjqRre35SCV9HpQ+tTtmmyxDsOD cFKg== X-Gm-Message-State: ANhLgQ3ugYdm+dwrxom38tYZ4XFc95yIcBpW1N8e57FdnRKBEsZ6B9Y/ df0EpsnLfSTcbbiTLdgF+R4gVRWXKYW/j8vYgk2OienmzpDfx7MuPkFebCIRi1WfdEhdbRfsn+3 0Nah9htKNpAjMymSAkAw= X-Received: by 2002:a1f:3649:: with SMTP id d70mr9019721vka.12.1585304646187; Fri, 27 Mar 2020 03:24:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvaKAI5r2opgJ8bOAg7/45Vu7dhhfVElLSpED8gpxEM3UA2tCgBUFWBI/1f5LVW6qrUAv90ZWXbDirLaKLsInA= X-Received: by 2002:a1f:3649:: with SMTP id d70mr9019709vka.12.1585304645985; Fri, 27 Mar 2020 03:24:05 -0700 (PDT) MIME-Version: 1.0 References: <20200303181817.3448334-1-ferruh.yigit@intel.com> <20200313145200.3257043-1-ferruh.yigit@intel.com> In-Reply-To: <20200313145200.3257043-1-ferruh.yigit@intel.com> From: David Marchand Date: Fri, 27 Mar 2020 11:23:54 +0100 Message-ID: To: Ferruh Yigit Cc: Hemant Agrawal , Sachin Saxena , Fiona Trahe , John Griffin , Deepak Kumar Jain , John Daley , Hyong Youb Kim , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Bernard Iremonger , dev , Thomas Monjalon , Stephen Hemminger , Andrzej Ostruszka X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v3] log: add API to check if a logtype can log in a given level 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" On Fri, Mar 13, 2020 at 3:52 PM Ferruh Yigit wrote= : > > This is a helper function in case components would like to do more work > than just logging a message based on log level, like for example > collecting some stats if the log type is DEBUG etc.. > > A few existing relevant usage converted to this new API. > > Signed-off-by: Ferruh Yigit > Acked-by: Hyong Youb Kim > Acked-by: Hemant Agrawal Reviewed-by: Andrzej Ostruszka lgtm Acked-by: David Marchand Applied, thanks. --=20 David Marchand