Re: [PATCH v4] perf list: Fix the --no-desc option

From: Namhyung Kim
Date: Wed May 29 2024 - 15:26:43 EST


On Fri, 17 May 2024 07:14:26 -0700, Breno Leitao wrote:
> Currently, the --no-desc option in perf list isn't functioning as
> intended.
>
> This issue arises from the overwriting of struct option->desc with the
> opposite value of struct option->long_desc. Consequently, whatever
> parse_options() returns at struct option->desc gets overridden later,
> rendering the --desc or --no-desc arguments ineffective.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>