Re: [PATCH 1/3] perf, pt, coresight: Clean up address filter structure

From: kbuild test robot
Date: Thu Jan 26 2017 - 08:03:08 EST


Hi Alexander,

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

url: https://github.com/0day-ci/linux/commits/Alexander-Shishkin/perf-Updates-for-address-filters/20170126-175256
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

drivers/hwtracing/coresight/coresight-etm-perf.c: In function 'etm_addr_filters_sync':
>> drivers/hwtracing/coresight/coresight-etm-perf.c:426:13: error: 'struct perf_addr_filter' has no member named 'range'
if (filter->range == 1) {
^~

vim +426 drivers/hwtracing/coresight/coresight-etm-perf.c

ca878b14 Mathieu Poirier 2016-08-25 420
ca878b14 Mathieu Poirier 2016-08-25 421 list_for_each_entry(filter, &head->list, entry) {
ca878b14 Mathieu Poirier 2016-08-25 422 start = filter->offset + offs[i];
ca878b14 Mathieu Poirier 2016-08-25 423 stop = start + filter->size;
ca878b14 Mathieu Poirier 2016-08-25 424 etm_filter = &filters->etm_filter[i];
ca878b14 Mathieu Poirier 2016-08-25 425
ca878b14 Mathieu Poirier 2016-08-25 @426 if (filter->range == 1) {
ca878b14 Mathieu Poirier 2016-08-25 427 etm_filter->start_addr = start;
ca878b14 Mathieu Poirier 2016-08-25 428 etm_filter->stop_addr = stop;
ca878b14 Mathieu Poirier 2016-08-25 429 etm_filter->type = ETM_ADDR_TYPE_RANGE;

:::::: The code at line 426 was first introduced by commit
:::::: ca878b14660c340287fb17d70950cfc09c6d698c coresight: etm-perf: configuring filters from perf core

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

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip