Hi Petr,

kernel test robot noticed the following build errors:

[auto build test ERROR on 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b]

url:    
https://github.com/intel-lab-lkp/linux/commits/Petr-Pavlu/tracing-Fix-checking-of-freed-trace_event_file-for-hist-files/20260210-194023
base:   05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
patch link:    
https://lore.kernel.org/r/20260210113427.1068932-2-petr.pavlu%40suse.com
patch subject: [PATCH 1/5] tracing: Fix checking of freed trace_event_file for 
hist files
config: sparc64-defconfig 
(https://download.01.org/0day-ci/archive/20260211/[email protected]/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 
87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260211/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> kernel/trace/trace_events.c:1300:2: error: call to undeclared function 
>> 'hist_poll_wakeup'; ISO C99 and later do not support implicit function 
>> declarations [-Wimplicit-function-declaration]
    1300 |         hist_poll_wakeup();
         |         ^
   1 error generated.


vim +/hist_poll_wakeup +1300 kernel/trace/trace_events.c

  1289  
  1290  static void remove_event_file_dir(struct trace_event_file *file)
  1291  {
  1292          eventfs_remove_dir(file->ei);
  1293          list_del(&file->list);
  1294          remove_subsystem(file->system);
  1295          free_event_filter(file->filter);
  1296          file->flags |= EVENT_FILE_FL_FREED;
  1297          event_file_put(file);
  1298  
  1299          /* Wake up hist poll waiters to notice the EVENT_FILE_FL_FREED 
flag. */
> 1300          hist_poll_wakeup();
  1301  }
  1302  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to