[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202505242058.6AYU4Wd3-lkp@intel.com>
Date: Sat, 24 May 2025 20:11:27 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: [tip:master 747/770] include/linux/perf_regs.h:40:16: error:
'PERF_SAMPLE_REGS_ABI_NONE' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master
head: 4df0681d0b0244368a8a0982b24ceb536c3b5165
commit: a7872f778554c4849d59def8dfe0d295328e5e10 [747/770] perf/headers: Clean up <linux/perf_event.h> a bit
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20250524/202505242058.6AYU4Wd3-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250524/202505242058.6AYU4Wd3-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505242058.6AYU4Wd3-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/perf_event.h:33,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:94,
from init/main.c:21:
include/linux/perf_regs.h: In function 'perf_reg_abi':
>> include/linux/perf_regs.h:40:16: error: 'PERF_SAMPLE_REGS_ABI_NONE' undeclared (first use in this function)
40 | return PERF_SAMPLE_REGS_ABI_NONE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/perf_regs.h:40:16: note: each undeclared identifier is reported only once for each function it appears in
At top level:
cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics
vim +/PERF_SAMPLE_REGS_ABI_NONE +40 include/linux/perf_regs.h
4018994f3d87852 Jiri Olsa 2012-08-07 37
4018994f3d87852 Jiri Olsa 2012-08-07 38 static inline u64 perf_reg_abi(struct task_struct *task)
4018994f3d87852 Jiri Olsa 2012-08-07 39 {
4018994f3d87852 Jiri Olsa 2012-08-07 @40 return PERF_SAMPLE_REGS_ABI_NONE;
4018994f3d87852 Jiri Olsa 2012-08-07 41 }
88a7c26af8dab2f Andy Lutomirski 2015-01-04 42
:::::: The code at line 40 was first introduced by commit
:::::: 4018994f3d8785275ef0e7391b75c3462c029e56 perf: Add ability to attach user level registers dump to sample
:::::: TO: Jiri Olsa <jolsa@...hat.com>
:::::: CC: Arnaldo Carvalho de Melo <acme@...hat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists