Re: perf build failures in {v4.4,v4.9,v4.14}.y.queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 19, 2019 at 03:49:38PM +0200, Jack Wang wrote:
Guenter Roeck <linux@xxxxxxxxxxxx> 于2019年8月19日周一 下午3:36写道:

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
I had same error on 4.14.140-rc1, and yes, replace data->file.path
with file->path works.

I've fixed it up, thank you!

--
Thanks,
Sasha



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux