Re: [PATCH v2 07/13] perf header: use struct feat_fd for print

From: David Carrillo-Cisneros
Date: Sun Jun 04 2017 - 22:37:28 EST


On Thu, May 25, 2017 at 1:09 AM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> On Tue, May 23, 2017 at 12:48:47AM -0700, David Carrillo-Cisneros wrote:
>> As preparation for using header records in pipe mode, replace
>> int fd with struct feat_fd fd in print functions for all header
>> record types.
>>
>> Add offset and size to struct feat_fd to provide pipe-mode with
>> variables for offset and size that in file-mode are stored
>> in struct perf_file_section.
>
> please put that change in the pipe-mode change related patch
> perf header: add a buffer to struct feat_fd
>

This is needed here to convert perf_file_section__fprintf_info . i
will explain that in the log.