Re: [PATCH] perf record: Display data size on pipe mode
From: Namhyung Kim
Date: Wed Feb 07 2024 - 17:13:16 EST
On Fri, 12 Jan 2024 15:13:40 -0800, Namhyung Kim wrote:
> Currently pipe mode doesn't set the file size and it results in a
> misleading message of 0 data size at the end. Although it might miss
> some accounting for pipe header or more, just displaying the data size
> would reduce the possible confusion.
>
> Before:
> $ perf record -o- perf test -w noploop | perf report -i- -q --percent-limit=1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.000 MB - ] <====== (here)
> 99.58% perf perf [.] noploop
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>