Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp570728rdf; Fri, 3 Nov 2023 08:41:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/NMFhnXacXi3mlmQT6ua55/vaSZH9wd9ln4o7vT2i0wM8wpyicdK7G/yZz2wNgTDfq1+u X-Received: by 2002:a05:6a20:e101:b0:181:b23a:b88c with SMTP id kr1-20020a056a20e10100b00181b23ab88cmr5298438pzb.49.1699026094288; Fri, 03 Nov 2023 08:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699026094; cv=none; d=google.com; s=arc-20160816; b=iKRPpcf0/M8S+BR4EKwCEkomT+uAHCNgFZRL6xIiHVmJxe6X0lOZXY7XDYGX4LOt6z AbF5m/DwiohgJ77HSInJirCNgLo2Bjl0dRaxtL5Mk95PwGN6G5PDZFpn07VtOMSwACCc pHBC5M2BwSgb4MDjj8ynYTsrTiLoKcjfOrMVeWR34ZIQqiFdZEX7M1NkbWuB7ITKeisO 6uoMGoLqaIzekdDDDdiMjNxoaB4yJ8NUivm9qRa7pCT/WbvVPvu/xEad9bwVIb/vVjJh koCzHwnFmbeg7Bc64UwwFWqzJ1U6kFx1hs1HYR8bxVjIRxhw3H5fsauMdT+Thf1hJRwf Qs4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vRaJx5yqDoLyT5Xi3DrUXbLg8Rya2MY4ntt0ooWt/pY=; fh=yNGGJ7tyiDfTTWNKXs+E0rxtGJPGd/ZQ9WLsK5+eUYg=; b=XhiYOEOMYJwCxy0oUpisbmKdNaBJ7d+hESdyhAD1BN3Fed3PVPlyvUzasHCZHVU6lG N46YwNYrR+RPTeZfJ2dSY7QGyLHMW+W6SNPNSOfzTNoyQtGqTDYGgsVCeBcbFmfHqipj 4QCJkTyP2JgvNUk1VPbVNa5Q2WvPqeaSnTImUrH0I2wM3jbVZL6eFQoaNFZTRwEd43Sc wEUBNwa0MKoPGAzOmMrJ0Vt7EMQO+yV8mCeVREukhmk9wBn5DpLb+0OWJK3iZioIQW0d lM1av3J9s0kKphv6c+SVZou4YlZrPt905mEbgP+PMLlu2See3+pbnvsbDNM7PBW1XVa8 vqNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YVa5r15i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id gj8-20020a17090b108800b0027450695a78si1756303pjb.172.2023.11.03.08.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 08:41:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YVa5r15i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D28CC831335E; Fri, 3 Nov 2023 08:41:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234042AbjKCPl3 (ORCPT + 99 others); Fri, 3 Nov 2023 11:41:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbjKCPl2 (ORCPT ); Fri, 3 Nov 2023 11:41:28 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8401BF for ; Fri, 3 Nov 2023 08:41:25 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50946ff87aeso4618e87.0 for ; Fri, 03 Nov 2023 08:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1699026084; x=1699630884; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vRaJx5yqDoLyT5Xi3DrUXbLg8Rya2MY4ntt0ooWt/pY=; b=YVa5r15iCTcnhduAgAXBO91zsBizM++a3H9jJurUuQ3smDK0JtQ7d6pCNwKt4CS+hG m3hfRf1Dbjh/z1Oqk3axxH+2dO+1YHrUttmpZANCAiRO+wVasa6cYvlMDEfqHoufP+4O U+ATdT/CR6BFzAXoBXbzG4rloH58Mv4yqFeRNeNqfBLjbrpVDNDUXlP+rNcxhcMiDcme EP4YjOjuuLITF4oOiNm9D45aTvxR0j4naQz40tiwedM6drfcdZSxbNuhRE13ArOMGEgU sNAcPHKBnlhNMcolfqipAbPGC9eQg/hWsQ8yZN8fXgwBLGjN8F9rEfbC3lVb9E8GC8zL hhcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699026084; x=1699630884; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vRaJx5yqDoLyT5Xi3DrUXbLg8Rya2MY4ntt0ooWt/pY=; b=nUIEM0h3WLB7fzkOqRI0De+XbNlFLPGDjmrLH6wSPXz/ea5GgWMYTiZGlksLufXR4q BZHZWtHvrw9pX8uVT1GYYPOr6rEqH37MpWVaMXBG9reWkV7cXp+NFsBjPtAk5ctAinYl i0MccyZTTEbCqYH6GV4ypa7OcgrMzSwYaaPTnyBzHHqx6LmnCY5pW98vYSTi9NwKX65j MXSyirp/DPGdmULEUUJH4cCXPR0VJDYlx7zkpq1sYLa6ewQz6ZsdUomltnnTmqYeMf0P Mq710B05rIqagV/eBuHP3BpHdllRzl9pnWghr3BQ+tNQdRS29/zxmiHrobJikJiCpiQo 4oRg== X-Gm-Message-State: AOJu0YyWF0xrWP9CX4MCkrQFt9wBoq60D4I4U2yTxShGtPBvF7RrP4fx XCgvgjs6z5we8Wsj519LhoALa5A+wGg32H6Ily0LnNs63e1hTssSMXyq5g== X-Received: by 2002:a05:6512:358c:b0:509:4535:b272 with SMTP id m12-20020a056512358c00b005094535b272mr143154lfr.3.1699026083710; Fri, 03 Nov 2023 08:41:23 -0700 (PDT) MIME-Version: 1.0 References: <20231103113501.490012-1-james.clark@arm.com> In-Reply-To: <20231103113501.490012-1-james.clark@arm.com> From: Ian Rogers Date: Fri, 3 Nov 2023 08:41:12 -0700 Message-ID: Subject: Re: [PATCH] perf test: Add option to change objdump binary To: James Clark Cc: linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Nathan Chancellor , Nick Desaulniers , Tom Rix , Kan Liang , Yang Jihong , Kajol Jain , Athira Rajeev , Ravi Bangoria , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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]); Fri, 03 Nov 2023 08:41:32 -0700 (PDT) On Fri, Nov 3, 2023 at 4:35=E2=80=AFAM James Clark wr= ote: > > All of the other Perf subcommands that use objdump have an option to > specify the binary, so add the same option to perf test. > > This is useful if you have built the kernel with a different toolchain > to the system one, where the system objdump may fail to disassemble > vmlinux. > > Now this can be fixed with something like this: > > $ perf test --objdump llvm-objdump "object code reading" > > Signed-off-by: James Clark There is also "perf config" for things like this. Reviewed-by: Ian Rogers Thanks, Ian