From: kernel test robot <lkp@intel.com>
To: Mayuresh Chitale <mayuresh.chitale@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev, Anup Patel <anup@brainfault.org>
Subject: [avpatel:riscv_trace_support_v5 101/104] include/linux/perf_event.h:25:11: fatal error: asm/perf_event.h: No such file or directory
Date: Wed, 12 Aug 2026 15:29:35 +0800 [thread overview]
Message-ID: <202608121532.kUUYFBKB-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git riscv_trace_support_v5
head: 1d99b155d3c1ca9a30209d51590db002a606f30c
commit: c233229a39d9c174acce7057ff5248560ccba131 [101/104] gtrace: Add perf driver for tracing using perf tool
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260812/202608121532.kUUYFBKB-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260812/202608121532.kUUYFBKB-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608121532.kUUYFBKB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:95,
from include/linux/syscalls_api.h:1,
from kernel/sched/sched.h:64,
from kernel/sched/rq-offsets.c:5:
>> include/linux/perf_event.h:25:11: fatal error: asm/perf_event.h: No such file or directory
25 | # include <asm/perf_event.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1410: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PERF_EVENTS
Depends on [n]: HAVE_PERF_EVENTS [=n]
Selected by [m]:
- GTRACE [=m] && OF [=y]
vim +25 include/linux/perf_event.h
0793a61d4df8da include/linux/perf_counter.h Thomas Gleixner 2008-12-04 19
9f66a3810fe0d4 include/linux/perf_counter.h Ingo Molnar 2008-12-10 20 /*
f3dfd2656deb81 include/linux/perf_counter.h Paul Mackerras 2009-02-26 21 * Kernel-internal data types and definitions:
9f66a3810fe0d4 include/linux/perf_counter.h Ingo Molnar 2008-12-10 22 */
9f66a3810fe0d4 include/linux/perf_counter.h Ingo Molnar 2008-12-10 23
cdd6c482c9ff9c include/linux/perf_event.h Ingo Molnar 2009-09-21 24 #ifdef CONFIG_PERF_EVENTS
cdd6c482c9ff9c include/linux/perf_event.h Ingo Molnar 2009-09-21 @25 # include <asm/perf_event.h>
7be7923633a142 include/linux/perf_event.h Peter Zijlstra 2010-06-09 26 # include <asm/local64.h>
f3dfd2656deb81 include/linux/perf_counter.h Paul Mackerras 2009-02-26 27 #endif
f3dfd2656deb81 include/linux/perf_counter.h Paul Mackerras 2009-02-26 28
:::::: The code at line 25 was first introduced by commit
:::::: cdd6c482c9ff9c55475ee7392ec8f672eddb7be6 perf: Do the big rename: Performance Counters -> Performance Events
:::::: TO: Ingo Molnar <mingo@elte.hu>
:::::: CC: Ingo Molnar <mingo@elte.hu>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-12 7:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608121532.kUUYFBKB-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup@brainfault.org \
--cc=mayuresh.chitale@oss.qualcomm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.