Re: [PATCH 2/4] perf: Keep AUX flags in the output handle

From: kbuild test robot
Date: Mon Feb 20 2017 - 12:02:16 EST

Hi Will,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.10 next-20170220]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64

All errors (new ones prefixed by >>):

In file included from ./arch/arm64/include/generated/asm/local.h:1:0,
from drivers/hwtracing/coresight/coresight-etb10.c:15:
drivers/hwtracing/coresight/coresight-etb10.c: In function 'etb_update_buffer':
>> drivers/hwtracing/coresight/coresight-etb10.c:431:17: error: 'struct cs_buffers' has no member named 'lost'
include/asm-generic/local.h:30:40: note: in definition of macro 'local_inc'
#define local_inc(l) atomic_long_inc(&(l)->a)

vim +431 drivers/hwtracing/coresight/coresight-etb10.c

2997aa40 Mathieu Poirier 2016-02-17 425 read_ptr = (write_ptr + drvdata->buffer_depth) -
2997aa40 Mathieu Poirier 2016-02-17 426 to_read / ETB_FRAME_SIZE_WORDS;
2997aa40 Mathieu Poirier 2016-02-17 427 /* Wrap around if need be*/
bedffda8 Mathieu Poirier 2016-05-03 428 if (read_ptr > (drvdata->buffer_depth - 1))
bedffda8 Mathieu Poirier 2016-05-03 429 read_ptr -= drvdata->buffer_depth;
2997aa40 Mathieu Poirier 2016-02-17 430 /* let the decoder know we've skipped ahead */
2997aa40 Mathieu Poirier 2016-02-17 @431 local_inc(&buf->lost);
2997aa40 Mathieu Poirier 2016-02-17 432 }
2997aa40 Mathieu Poirier 2016-02-17 433
2997aa40 Mathieu Poirier 2016-02-17 434 /* finally tell HW where we want to start reading from */

:::::: The code at line 431 was first introduced by commit
:::::: 2997aa4063d97fdb39450c6078bd81a7b0504f22 coresight: etb10: implementing AUX API

:::::: TO: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip