Re: [PATCH 3/7] perf header: use struct feat_fd for write

From: David Carrillo-Cisneros
Date: Thu May 18 2017 - 14:02:37 EST


On Thu, May 18, 2017 at 9:13 AM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> On Wed, May 17, 2017 at 09:15:58PM -0700, David Carrillo-Cisneros wrote:
>> As preparation for using header records in pipe mode, replace
>> int fd with struct feat_fd fd in write functions for all header
>> record types.
>>
>> Record types that are not used in pipe-mode (such as auxtrace) will
>> never be called with fd->buf set and fail if so.
>
> please separate the struct feat_fd addition and
> the fd->buf support

Will do.