From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0CCA5A0562; Tue, 23 Mar 2021 11:19:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83C0D4014D; Tue, 23 Mar 2021 11:19:57 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 6862640143 for ; Tue, 23 Mar 2021 11:19:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616494794; 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=q0YD2F6O5cSI6CxvquceHNnZW7c0tdP/m2AGrty0U9Y=; b=A2wsLgoz2UOa+sfgghBkrkL42CffoVLMhgedstc4GvIU0bd2ddN8dj0FAhMwG0D2YRa46V Mve6igS9g1hqk4JOXWHaT6aIfGKdJDsvFxdVd8fo6h8UO+WVDQEv72mZBbYh0Flm76TSAA ZKWNzrXasrpbet2VCBAF5BINpjXITuU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-15-gPNadZUdOx63B52njSnA0w-1; Tue, 23 Mar 2021 06:19:51 -0400 X-MC-Unique: gPNadZUdOx63B52njSnA0w-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 71AD4107B7CA; Tue, 23 Mar 2021 10:19:50 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.233]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4229A6A03C; Tue, 23 Mar 2021 10:19:49 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: arybchenko@solarflare.com, l.wojciechow@partner.samsung.com Date: Tue, 23 Mar 2021 11:19:25 +0100 Message-Id: <20210323101928.2403-1-david.marchand@redhat.com> In-Reply-To: <20200626114751.22523-1-david.marchand@redhat.com> References: <20200626114751.22523-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH 0/3] Track log level changes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Here is a little series, following RFC [1]. No change in behavior expected, but reviews welcome ! :-) 1: https://patchwork.dpdk.org/project/dpdk/list/?series=10632 Changes since RFC: - added unit test, - logged level changes in rte_log_register, - fixed double evaluation of --log-level options, -- David Marchand David Marchand (3): test/log: check levels log: track log level changes eal: fix evaluation of log level option app/test/test_logs.c | 53 +++++++++++- lib/librte_eal/common/eal_common_log.c | 113 +++++++++++++------------ lib/librte_eal/freebsd/eal.c | 4 + lib/librte_eal/linux/eal.c | 4 + lib/librte_eal/windows/eal.c | 4 + 5 files changed, 120 insertions(+), 58 deletions(-) -- 2.23.0