Re: [PATCH] perf test: Add option to change objdump binary

From: Ian Rogers
Date: Fri Nov 03 2023 - 11:41:29 EST


On Fri, Nov 3, 2023 at 4:35 AM James Clark <james.clark@xxxxxxx> 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 <james.clark@xxxxxxx>

There is also "perf config" for things like this.

Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks,
Ian