Re: [PATCH v5] perf data: Clean up use_stdio and structures

From: Namhyung Kim

Date: Thu Apr 09 2026 - 12:46:39 EST


On Wed, 08 Apr 2026 13:38:58 -0700, Ian Rogers wrote:
> use_stdio was associated with struct perf_data and not perf_data_file
> meaning there was implicit use of fd rather than fptr that may not be
> safe. For example, in perf_data_file__write. Reorganize perf_data_file
> to better abstract use_stdio, add kernel-doc and more consistently use
> perf_data__ accessors so that use_stdio is better respected.
>
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung