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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95999C4332F for ; Tue, 7 Nov 2023 09:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233589AbjKGJhh (ORCPT ); Tue, 7 Nov 2023 04:37:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjKGJhg (ORCPT ); Tue, 7 Nov 2023 04:37:36 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 988D292; Tue, 7 Nov 2023 01:37:33 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EADCDFEC; Tue, 7 Nov 2023 01:38:17 -0800 (PST) Received: from [192.168.1.3] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 041713F703; Tue, 7 Nov 2023 01:37:30 -0800 (PST) Message-ID: <47e3d265-e48e-238f-7528-b0eb4c250cb1@arm.com> Date: Tue, 7 Nov 2023 09:37:32 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] perf test: Add option to change objdump binary Content-Language: en-US To: Ian Rogers 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 References: <20231103113501.490012-1-james.clark@arm.com> From: James Clark In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/2023 15:41, Ian Rogers wrote: > On Fri, Nov 3, 2023 at 4:35 AM James Clark wrote: >> >> 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 That seems a bit better for this use case so I added it in V2. Thanks for the review. James