Re: [RFC PATCH 1/2] perf: Add the flag sample_disable not to output data on samples
From: kbuild test robot
Date: Mon Oct 12 2015 - 10:16:33 EST
Hi Kaixu,
[auto build test ERROR on tip/perf/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Kaixu-Xia/bpf-enable-disable-events-stored-in-PERF_EVENT_ARRAY-maps-trace-data-output-when-perf-sampling/20151012-170616
config: m68k-allyesconfig (attached as .config)
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=m68k
All errors (new ones prefixed by >>):
kernel/bpf/arraymap.c: In function 'perf_event_fd_array_get_ptr':
>> kernel/bpf/arraymap.c:305:7: error: 'struct perf_event' has no member named 'sample_disable'
event->sample_disable = &map->perf_sample_disable;
^
vim +305 kernel/bpf/arraymap.c
299 if (attr->type != PERF_TYPE_RAW &&
300 attr->type != PERF_TYPE_HARDWARE) {
301 perf_event_release_kernel(event);
302 return ERR_PTR(-EINVAL);
303 }
304
> 305 event->sample_disable = &map->perf_sample_disable;
306 return event;
307 }
308
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data