Re: [PATCH v3 11/15] perf header: add a buffer to struct feat_fd

Jiri Olsa
2017-06-08T11:54:36Z

On Tue, Jun 06, 2017 at 12:07:18AM -0700, David Carrillo-Cisneros wrote:

SNIP

> @@ -2600,7 +2661,7 @@ static int perf_file_section__process(struct perf_file_section *section,
> struct perf_header *ph,
> int feat, int fd, void *data)
> {
> - struct feat_fd fdd = {
> + struct feat_fd ff = {
> .fd = fd,
> .ph = ph,
> .size = section->size,
> @@ -2621,7 +2682,7 @@ static int perf_file_section__process(struct perf_file_section *section,
> if (!feat_ops[feat].process)
> return 0;
>
> - return feat_ops[feat].process(&fdd, data);
> + return feat_ops[feat].process(&ff, data);
> }

should be part of the previous patch that introduced this

jirka