Re: [PATCH] perf/x86/pebs: catch all PEBS overflow conditions

From: kbuild test robot
Date: Thu Mar 10 2016 - 11:23:24 EST


Hi Stephane,

[auto build test ERROR on next-20160310]
[cannot apply to tip/x86/core v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Stephane-Eranian/perf-x86-pebs-catch-all-PEBS-overflow-conditions/20160311-001126
config: i386-tinyconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/events//intel/core.c: In function 'intel_pmu_handle_irq':
>> arch/x86/events//intel/core.c:1910:3: error: 'orig_status' undeclared (first use in this function)
orig_status |= 1ULL << 62;
^
arch/x86/events//intel/core.c:1910:3: note: each undeclared identifier is reported only once for each function it appears in

vim +/orig_status +1910 arch/x86/events//intel/core.c

1904 * in the for_each_bit_set() loop for regular samples below.
1905 */
1906 status &= ~cpuc->pebs_enabled;
1907 status &= x86_pmu.intel_ctrl | GLOBAL_STATUS_TRACE_TOPAPMI;
1908
1909 /* make sure bit 62 is acked in any case */
> 1910 orig_status |= 1ULL << 62;
1911 }
1912
1913 /*

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

Attachment: .config.gz
Description: Binary data