util/header.c: In function ‘perf_session__read_header’: util/header.c:2860:10: error: ‘data’ undeclared
Culprit is "perf header: Fix divide by zero error if f_header.attr_size==0".
Fix might be to replace "data->file.path" with "file->path" in the affected branches.
Guenter