Re: [PATCH 1/2] perf report: Switch data file correctly in TUI

From: Namhyung Kim
Date: Thu Feb 20 2025 - 13:26:39 EST


On Mon, 10 Feb 2025 22:07:44 -0800, Namhyung Kim wrote:
> The 's' key is to switch to a new data file and load the data in the
> same window. The switch_data_file() will show a popup menu to select
> which data file user wants and update the 'input_name' global variable.
>
> But in the cmd_report(), it didn't update the data.path using the new
> 'input_name' and keep usng the old file. This is fairly an old bug and
> I assume people don't use this feature much. :)
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung