From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E6E9C4338F for ; Tue, 24 Aug 2021 18:06:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2529C6113A for ; Tue, 24 Aug 2021 18:06:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232039AbhHXSHD (ORCPT ); Tue, 24 Aug 2021 14:07:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:35762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232943AbhHXSG5 (ORCPT ); Tue, 24 Aug 2021 14:06:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 97D836113A; Tue, 24 Aug 2021 18:06:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629828372; bh=u8wj0I1xjKqUxJghL/zTMAbA6AlVct5UaAjQ/CovUb0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GJvxwmQWL52MYYQ8yccd9DRYr/QrNi3W2lFAI7t9u/567yw0P0DcCXF/J5MGwl6HH m7h9DjO+vGROgTU84NNJ143vRq91HJWjf3QiuVVCqMSLBLwvdvVLF+NTPPz9Qms0Gx QFwrKEHoc4Apx9KK/O6jUPRlCWH1uZ5cxTkQXbQg8nYMgtHIYamZBSBXMMdRIqFnJq Q5wBaQ4RaLPr6wsa23xN1EnWBt6rUdwDA1MMC/71fooIHyBpH5TlErnkNB+zEuuIBi 5ZtZgYm4BcXotu+rnF4d2POK7Jnr5lMX/m0XIe/jsNItd4uQRm2sxwdVQ1FHoINyUc IB9Sh1V16jscw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id ACF274007E; Tue, 24 Aug 2021 15:06:09 -0300 (-03) Date: Tue, 24 Aug 2021 15:06:09 -0300 From: Arnaldo Carvalho de Melo To: Rob Herring Cc: Shunsuke Nakamura , peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH 2/3] libperf tests: Fix verbose printing Message-ID: References: <20210820093908.734503-1-nakamura.shun@fujitsu.com> <20210820093908.734503-3-nakamura.shun@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Aug 23, 2021 at 03:26:42PM -0500, Rob Herring escreveu: > On Fri, Aug 20, 2021 at 06:39:07PM +0900, Shunsuke Nakamura wrote: > > libperf's verbose printing checks the -v option every time the macro _T_ START > > __T_START > > > is called. > > > > Since there are currently four libperf tests registered, the macro _T_ START is > > called four times, but verbose printing after the second time is not output. > > > > Resets the index of the element processed by getopt() and fix verbose printing > > so that it prints in all tests. > > > > Signed-off-by: Shunsuke Nakamura > > --- > > tools/lib/perf/include/internal/tests.h | 2 ++ > > 1 file changed, 2 insertions(+) > > Acked-by: Rob Herring Thanks, applied. Waiting for the conclusion on the discussion for the other two patches. - Arnaldo