[ammarfaizi2-block:rostedt/linux-trace/ftrace/core 1/5] include/trace/trace_custom_events.h:38:10: fatal error: stages/stage1_defines.h: No such file or directory

From: kernel test robot
Date: Wed Mar 30 2022 - 18:12:45 EST


tree: https://github.com/ammarfaizi2/linux-block rostedt/linux-trace/ftrace/core
head: 025833e54d2b7b031c44642a14df39a67a524b9a
commit: 7ebdde13050a7d880ef7403fd10c30f5167b6f0b [1/5] tracing: Rename the staging files for trace_events
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220331/202203310624.1GV7QXDy-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/7ebdde13050a7d880ef7403fd10c30f5167b6f0b
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block rostedt/linux-trace/ftrace/core
git checkout 7ebdde13050a7d880ef7403fd10c30f5167b6f0b
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash kernel// samples/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from include/trace/define_custom_trace.h:55,
from samples/trace_events/trace_custom_sched.h:96,
from samples/trace_events/trace_custom_sched.c:24:
>> include/trace/trace_custom_events.h:38:10: fatal error: stages/stage1_defines.h: No such file or directory
38 | #include "stages/stage1_defines.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +38 include/trace/trace_custom_events.h

3a73333fb370f7 Steven Rostedt (Google 2022-03-03 37)
3a73333fb370f7 Steven Rostedt (Google 2022-03-03 @38) #include "stages/stage1_defines.h"
3a73333fb370f7 Steven Rostedt (Google 2022-03-03 39)

:::::: The code at line 38 was first introduced by commit
:::::: 3a73333fb370f7b65de9d94c53df503642bda789 tracing: Add TRACE_CUSTOM_EVENT() macro

:::::: TO: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
:::::: CC: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp