Hi Song, Thank you for the patch! Yet something to improve: [auto build test ERROR on rostedt-trace/for-next] [also build test ERROR on linus/master v6.1-rc2 next-20221027] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Song-Shuai/ftrace-fix-static-function-tracer-not-working/20221027-165526 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next patch link: https://lore.kernel.org/r/20221027085343.2388485-1-suagrfillet%40gmail.com patch subject: [PATCH] ftrace: fix static function tracer not working config: arc-defconfig compiler: arc-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/44eabe3b35e870ebfd71d4bae0ebe371b305f042 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Song-Shuai/ftrace-fix-static-function-tracer-not-working/20221027-165526 git checkout 44eabe3b35e870ebfd71d4bae0ebe371b305f042 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arc-elf-ld: init/main.o: in function `start_kernel': >> main.c:(.init.text+0x7e2): undefined reference to `ftrace_nodyn_init' >> arc-elf-ld: main.c:(.init.text+0x7e2): undefined reference to `ftrace_nodyn_init' -- 0-DAY CI Kernel Test Service https://01.org/lkp