From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 450CD111A4 for ; Tue, 7 Nov 2023 09:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=none 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 Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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