Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3314281rdh; Mon, 27 Nov 2023 10:57:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjAEnT+xKV8V/AOTaisQ2ABHpyxWswKS4EP47ziHKzYy+Gq431ych84XMRKdTYKVwfk6sF X-Received: by 2002:a17:902:d489:b0:1cf:6e9e:aa19 with SMTP id c9-20020a170902d48900b001cf6e9eaa19mr13656569plg.7.1701111470755; Mon, 27 Nov 2023 10:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701111470; cv=none; d=google.com; s=arc-20160816; b=PAnnefa0mB5lgRgRMf2taNHRaL0fd/WunEKPk1QowBbsew4yoXFRAzz21mVuU8c3gv Pb7sK5rNoien53OAOdpsYX0mrrklK7S3EAvape9wdf8ELZ+AArpf7hpao/wq1OgfkS2z aYO9FRteM2eaoZgENDnwUs3sUSeVvKl6bgkwE4E+yfVeuFmi2ctWGPYljz3lowb617YZ xdMhTE7wS99ZMKDOmy0IeO5rUImDD9M/tLbjBZaLTttu6de6EO4/KPZzPIQs4Iu8oOMS m/7JukTzVRfFk4AEGOddZbw1yvdkbnHpLkdhqv0YtHSvwmy4Myi06kiifBsZfztXYESs o6Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nTAAHuTo7z0MRe1/n8YyinuWdK297st8SjFqro/Q+LY=; fh=sOVctsd01QAUyZ3uLs2UOEdBffUj71gGBhZOq+jlLAI=; b=0ehx9IHm1fE17QX/9FVPRMsWuWSPnvKbAHXmZ6FJyic6y6qfMV/LMb6Uwe+gLzZ0rC tAXMG3gQcUs+EZx7QjvaprdJ2ks4mW7TZgHT/WGnaerVBr/J5JoTgTKbRWpTo/zjS9/b QApRC5ydZTVe4F6bbSZ4gS7pJmCToJ5u/Z+zQgStBpv7GdyBWYbYCWGYLTiE7sUQvSXM VJodmupLq5uW4upJphGFoR6y2Pbb5P5+M1ofsXZ02I4c/28W+xgUlQ3HnPagYHJjwT8H v8r8NliHhCAevCDgytqPbP3dybvMO3LVg5z3jMg/dgWNDCm2dzkXDLP3XnDiNuIeyFYD hyTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dSJ6tAk0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h1-20020a170902eec100b001cfb52ebff2si5625586plb.224.2023.11.27.10.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 10:57:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dSJ6tAk0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7DEE9806896A; Mon, 27 Nov 2023 10:57:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232084AbjK0S5j (ORCPT + 99 others); Mon, 27 Nov 2023 13:57:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230302AbjK0S5i (ORCPT ); Mon, 27 Nov 2023 13:57:38 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C408D59 for ; Mon, 27 Nov 2023 10:57:44 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D479DC433C8; Mon, 27 Nov 2023 18:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701111464; bh=v6smM2Uc7gxZPOcwWStm5gIhkDbMPrvclde1FyyVbjs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dSJ6tAk0a39JkTu7tqg7ikqxlQ3VVe4KBbi9vXH1uxn9IuZhu5qJmBmAqm2RTpNwf kywo3Kt1Ja2ZUZAkefoH+ca4VRdEP/x+W9Y3QeZA6SABHi+rXvqsZZeb4+uo5E0DAA cZ04leTlgJTD+hn4xkfMW1JzmJnANzAMP69HkbS8izktN4HhFt1Y3N7qITCuKcS56O EDaxsmivEynUd5vNAZLfsWDPNDgkB/XDC+rEqPuNb8VB5GdIIeCOISuhj9dsXNalUd kBmnffuf+6FjK6rOzRqEIh+sYykc+LI+zVS7aUKqwU9aq1prj/mRrTdFaNX3QqTai7 dVAzFP691lu9Q== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 7209340094; Mon, 27 Nov 2023 15:57:41 -0300 (-03) Date: Mon, 27 Nov 2023 15:57:41 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: James Clark , linux-perf-users@vger.kernel.org, irogers@google.com, Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Yonghong Song , Fangrui Song , Kan Liang , Yang Jihong , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf test: Use existing config value for objdump path Message-ID: References: <20231113102327.695386-1-james.clark@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 27 Nov 2023 10:57:49 -0800 (PST) Em Mon, Nov 20, 2023 at 12:48:38PM -0800, Namhyung Kim escreveu: > Hello, > > On Mon, Nov 13, 2023 at 2:23 AM James Clark wrote: > > > > There is already an existing config value for changing the objdump path, > > so instead of having two values that do the same thing, make perf test > > use annotate.objdump as well. > > > > Signed-off-by: James Clark > > Acked-by: Namhyung Kim Thanks, applied to perf-tools-next. - Arnaldo > Thanks, > Namhyung > > > --- > > tools/perf/Documentation/perf-config.txt | 8 ++------ > > tools/perf/tests/builtin-test.c | 2 +- > > 2 files changed, 3 insertions(+), 7 deletions(-) > > > > diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt > > index 16398babd1ef..379f9d7a8ab1 100644 > > --- a/tools/perf/Documentation/perf-config.txt > > +++ b/tools/perf/Documentation/perf-config.txt > > @@ -251,7 +251,8 @@ annotate.*:: > > addr2line binary to use for file names and line numbers. > > > > annotate.objdump:: > > - objdump binary to use for disassembly and annotations. > > + objdump binary to use for disassembly and annotations, > > + including in the 'perf test' command. > > > > annotate.disassembler_style:: > > Use this to change the default disassembler style to some other value > > @@ -722,11 +723,6 @@ session-.*:: > > Defines new record session for daemon. The value is record's > > command line without the 'record' keyword. > > > > -test.*:: > > - > > - test.objdump:: > > - objdump binary to use for disassembly and annotations. > > - > > SEE ALSO > > -------- > > linkperf:perf[1] > > diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c > > index 113e92119e1d..b8c21e81a021 100644 > > --- a/tools/perf/tests/builtin-test.c > > +++ b/tools/perf/tests/builtin-test.c > > @@ -518,7 +518,7 @@ static int run_workload(const char *work, int argc, const char **argv) > > static int perf_test__config(const char *var, const char *value, > > void *data __maybe_unused) > > { > > - if (!strcmp(var, "test.objdump")) > > + if (!strcmp(var, "annotate.objdump")) > > test_objdump_path = value; > > > > return 0; > > -- > > 2.34.1 > > -- - Arnaldo