linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [djwong-xfs:vectorized-scrub 256/299] fs/xfs/./xfs_trace.h:1382:4: error: 'XFS_RTLOCK_REFCOUNT' undeclared
@ 2021-08-09  8:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-09  8:44 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: kbuild-all, Darrick J. Wong, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 5270 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head:   5fc557f566b4196e3c3c77271840ba84bf158d3b
commit: 5d2e45fad9285b7493f406961902c3ee4141dc57 [256/299] xfs: wire up realtime refcount btree cursors
config: i386-randconfig-c021-20210804 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=5d2e45fad9285b7493f406961902c3ee4141dc57
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs vectorized-scrub
        git checkout 5d2e45fad9285b7493f406961902c3ee4141dc57
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:102,
                    from fs/xfs/xfs_trace.h:4607,
                    from fs/xfs/xfs_trace.c:44:
   fs/xfs/./xfs_trace.h: In function 'trace_raw_output_xfs_rtlock_class':
   fs/xfs/./xfs_trace.h:1380:4: error: 'XFS_RTLOCK_ALLOC' undeclared (first use in this function); did you mean 'XFS_RTBLOCKLOG'?
    1380 |  { XFS_RTLOCK_ALLOC,  "rbm|rsum" }, \
         |    ^~~~~~~~~~~~~~~~
   include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
     393 |  trace_event_printf(iter, print);    \
         |                           ^~~~~
   fs/xfs/./xfs_trace.h:1395:2: note: in expansion of macro 'TP_printk'
    1395 |  TP_printk("dev %d:%d flags %s",
         |  ^~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:5: note: in expansion of macro '__print_flags'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |     ^~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |                                        ^~~~~~~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1380:4: note: each undeclared identifier is reported only once for each function it appears in
    1380 |  { XFS_RTLOCK_ALLOC,  "rbm|rsum" }, \
         |    ^~~~~~~~~~~~~~~~
   include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
     393 |  trace_event_printf(iter, print);    \
         |                           ^~~~~
   fs/xfs/./xfs_trace.h:1395:2: note: in expansion of macro 'TP_printk'
    1395 |  TP_printk("dev %d:%d flags %s",
         |  ^~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:5: note: in expansion of macro '__print_flags'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |     ^~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |                                        ^~~~~~~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1381:4: error: 'XFS_RTLOCK_RMAP' undeclared (first use in this function); did you mean 'XFS_QLOCK_NORMAL'?
    1381 |  { XFS_RTLOCK_RMAP,  "rmap" }, \
         |    ^~~~~~~~~~~~~~~
   include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
     393 |  trace_event_printf(iter, print);    \
         |                           ^~~~~
   fs/xfs/./xfs_trace.h:1395:2: note: in expansion of macro 'TP_printk'
    1395 |  TP_printk("dev %d:%d flags %s",
         |  ^~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:5: note: in expansion of macro '__print_flags'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |     ^~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |                                        ^~~~~~~~~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:1382:4: error: 'XFS_RTLOCK_REFCOUNT' undeclared (first use in this function)
    1382 |  { XFS_RTLOCK_REFCOUNT,  "refc" }
         |    ^~~~~~~~~~~~~~~~~~~
   include/trace/trace_events.h:393:27: note: in definition of macro 'DECLARE_EVENT_CLASS'
     393 |  trace_event_printf(iter, print);    \
         |                           ^~~~~
   fs/xfs/./xfs_trace.h:1395:2: note: in expansion of macro 'TP_printk'
    1395 |  TP_printk("dev %d:%d flags %s",
         |  ^~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:5: note: in expansion of macro '__print_flags'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |     ^~~~~~~~~~~~~
   fs/xfs/./xfs_trace.h:1397:40: note: in expansion of macro 'XFS_RTLOCK_STRINGS'
    1397 |     __print_flags(__entry->flags, "|", XFS_RTLOCK_STRINGS))
         |                                        ^~~~~~~~~~~~~~~~~~


vim +/XFS_RTLOCK_REFCOUNT +1382 fs/xfs/./xfs_trace.h

  1378	
  1379	#define XFS_RTLOCK_STRINGS \
  1380		{ XFS_RTLOCK_ALLOC,		"rbm|rsum" }, \
  1381		{ XFS_RTLOCK_RMAP,		"rmap" }, \
> 1382		{ XFS_RTLOCK_REFCOUNT,		"refc" }
  1383	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32731 bytes --]

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

only message in thread, other threads:[~2021-08-09  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  8:44 [djwong-xfs:vectorized-scrub 256/299] fs/xfs/./xfs_trace.h:1382:4: error: 'XFS_RTLOCK_REFCOUNT' undeclared kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).