All of lore.kernel.org
 help / color / mirror / Atom feed
* [cel:nfsd-testing 135/137] fs/nfsd/./trace.h:1399:32: error: 'struct trace_event_raw_nfsd_handle_dir_event' has no member named 'i_ino'
@ 2026-05-23 20:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-23 20:22 UTC (permalink / raw)
  To: Jeff Layton; +Cc: oe-kbuild-all, Chuck Lever

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux nfsd-testing
head:   32a48b959e92ab534d7109818e6f2f0d4013e249
commit: 04cc256388df5d2d284f4d9d3e9f22ebf974f806 [135/137] nfsd: fix ino_t format specifier in nfsd_handle_dir_event tracepoint
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260524/202605240459.KHumjIY1-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260524/202605240459.KHumjIY1-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/202605240459.KHumjIY1-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:132,
                    from fs/nfsd/trace.h:2781,
                    from fs/nfsd/trace.c:4:
   fs/nfsd/./trace.h: In function 'trace_raw_output_nfsd_handle_dir_event':
>> fs/nfsd/./trace.h:1399:32: error: 'struct trace_event_raw_nfsd_handle_dir_event' has no member named 'i_ino'
    1399 |                         __entry->i_ino, show_fsnotify_mask(__entry->mask),
         |                                ^~
   include/trace/trace_events.h:219:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
     219 |         trace_event_printf(iter, print);                                \
         |                                  ^~~~~
   include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
      45 |                              PARAMS(print));                   \
         |                              ^~~~~~
   fs/nfsd/./trace.h:1381:1: note: in expansion of macro 'TRACE_EVENT'
    1381 | TRACE_EVENT(nfsd_handle_dir_event,
         | ^~~~~~~~~~~
   fs/nfsd/./trace.h:1397:9: note: in expansion of macro 'TP_printk'
    1397 |         TP_printk("inode=0x%x:0x%x:0x%llx mask=%s name=%s",
         |         ^~~~~~~~~
   fs/nfsd/./trace.h: In function 'do_trace_event_raw_event_nfsd_handle_dir_event':
   fs/nfsd/./trace.h:1394:24: error: 'struct trace_event_raw_nfsd_handle_dir_event' has no member named 'i_ino'
    1394 |                 __entry->i_ino = dir ? dir->i_ino : 0;
         |                        ^~
   include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
     427 |         { assign; }                                                     \
         |           ^~~~~~
   include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS'
     435 |                       PARAMS(assign), PARAMS(print))                    \
         |                       ^~~~~~
   include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
      40 |         DECLARE_EVENT_CLASS(name,                              \
         |         ^~~~~~~~~~~~~~~~~~~
   include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
      44 |                              PARAMS(assign),                   \
         |                              ^~~~~~
   fs/nfsd/./trace.h:1381:1: note: in expansion of macro 'TRACE_EVENT'
    1381 | TRACE_EVENT(nfsd_handle_dir_event,
         | ^~~~~~~~~~~
   fs/nfsd/./trace.h:1391:9: note: in expansion of macro 'TP_fast_assign'
    1391 |         TP_fast_assign(
         |         ^~~~~~~~~~~~~~
   In file included from include/trace/define_trace.h:133:
   fs/nfsd/./trace.h: In function 'do_perf_trace_nfsd_handle_dir_event':
   fs/nfsd/./trace.h:1394:24: error: 'struct trace_event_raw_nfsd_handle_dir_event' has no member named 'i_ino'
    1394 |                 __entry->i_ino = dir ? dir->i_ino : 0;
         |                        ^~
   include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS'
      51 |         { assign; }                                                     \
         |           ^~~~~~
   include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS'
      67 |                       PARAMS(assign), PARAMS(print))                    \
         |                       ^~~~~~
   include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS'
      40 |         DECLARE_EVENT_CLASS(name,                              \
         |         ^~~~~~~~~~~~~~~~~~~
   include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS'
      44 |                              PARAMS(assign),                   \
         |                              ^~~~~~
   fs/nfsd/./trace.h:1381:1: note: in expansion of macro 'TRACE_EVENT'
    1381 | TRACE_EVENT(nfsd_handle_dir_event,
         | ^~~~~~~~~~~
   fs/nfsd/./trace.h:1391:9: note: in expansion of macro 'TP_fast_assign'
    1391 |         TP_fast_assign(
         |         ^~~~~~~~~~~~~~


vim +1399 fs/nfsd/./trace.h

65294c1f2c5e72b Jeff Layton 2019-08-18  1380  
cc1687d186b0542 Jeff Layton 2026-05-22  1381  TRACE_EVENT(nfsd_handle_dir_event,
cc1687d186b0542 Jeff Layton 2026-05-22  1382  	TP_PROTO(u32 mask, const struct inode *dir, const struct qstr *name),
cc1687d186b0542 Jeff Layton 2026-05-22  1383  	TP_ARGS(mask, dir, name),
cc1687d186b0542 Jeff Layton 2026-05-22  1384  	TP_STRUCT__entry(
cc1687d186b0542 Jeff Layton 2026-05-22  1385  		__field(u32, mask)
cc1687d186b0542 Jeff Layton 2026-05-22  1386  		__field(dev_t, s_dev)
04cc256388df5d2 Jeff Layton 2026-05-23  1387  		__field(ino_t, u64)
cc1687d186b0542 Jeff Layton 2026-05-22  1388  		__string_len(name, name ? name->name : NULL,
cc1687d186b0542 Jeff Layton 2026-05-22  1389  				   name ? name->len : 0)
cc1687d186b0542 Jeff Layton 2026-05-22  1390  	),
cc1687d186b0542 Jeff Layton 2026-05-22  1391  	TP_fast_assign(
cc1687d186b0542 Jeff Layton 2026-05-22  1392  		__entry->mask = mask;
cc1687d186b0542 Jeff Layton 2026-05-22  1393  		__entry->s_dev = dir ? dir->i_sb->s_dev : 0;
cc1687d186b0542 Jeff Layton 2026-05-22  1394  		__entry->i_ino = dir ? dir->i_ino : 0;
cc1687d186b0542 Jeff Layton 2026-05-22  1395  		__assign_str(name);
cc1687d186b0542 Jeff Layton 2026-05-22  1396  	),
04cc256388df5d2 Jeff Layton 2026-05-23  1397  	TP_printk("inode=0x%x:0x%x:0x%llx mask=%s name=%s",
cc1687d186b0542 Jeff Layton 2026-05-22  1398  			MAJOR(__entry->s_dev), MINOR(__entry->s_dev),
cc1687d186b0542 Jeff Layton 2026-05-22 @1399  			__entry->i_ino, show_fsnotify_mask(__entry->mask),
cc1687d186b0542 Jeff Layton 2026-05-22  1400  			__get_str(name))
cc1687d186b0542 Jeff Layton 2026-05-22  1401  );
cc1687d186b0542 Jeff Layton 2026-05-22  1402  

:::::: The code at line 1399 was first introduced by commit
:::::: cc1687d186b0542390badca86c6a87e17c95b378 nfsd: add tracepoint to dir_event handler

:::::: TO: Jeff Layton <jlayton@kernel.org>
:::::: CC: Chuck Lever <chuck.lever@oracle.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-23 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-23 20:22 [cel:nfsd-testing 135/137] fs/nfsd/./trace.h:1399:32: error: 'struct trace_event_raw_nfsd_handle_dir_event' has no member named 'i_ino' kernel test robot

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.