linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [djwong-xfs:scrub-drain-intents 357/357] fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
@ 2021-07-03  3:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-03  3:12 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: kbuild-all, Darrick J. Wong, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git scrub-drain-intents
head:   6c0c27bb3384a0d466a35c7573db272c6c34ec62
commit: 6c0c27bb3384a0d466a35c7573db272c6c34ec62 [357/357] xfs: allow queued AG intents to drain before scrubbing
config: sparc-randconfig-s032-20210702 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=6c0c27bb3384a0d466a35c7573db272c6c34ec62
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs scrub-drain-intents
        git checkout 6c0c27bb3384a0d466a35c7573db272c6c34ec62
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash fs/xfs/

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

All error/warnings (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:102,
                    from fs/xfs/xfs_trace.h:4918,
                    from fs/xfs/xfs_trace.c:41:
   fs/xfs/./xfs_trace.h: In function 'trace_event_raw_event_xfs_perag_intents_class':
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:44:42: note: in expansion of macro '__unqual_scalar_typeof'
      44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
         |                                          ^~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                                         ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4865:2: note: in expansion of macro 'TP_fast_assign'
    4865 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4868:25: note: in expansion of macro 'atomic_read'
    4868 |   __entry->nr_intents = atomic_read(&pag->pag_intents);
         |                         ^~~~~~~~~~~
   fs/xfs/./xfs_trace.h: In function 'trace_event_raw_event_xfs_rt_intents_class':
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/linux/compiler_types.h:316:2: note: in expansion of macro '__compiletime_assert'
     316 |  __compiletime_assert(condition, msg, prefix, suffix)
         |  ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:328:2: note: in expansion of macro '_compiletime_assert'
     328 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:44:42: note: in expansion of macro '__unqual_scalar_typeof'
      44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
         |                                          ^~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
>> fs/xfs/./xfs_trace.h:4896:40: error: 'struct xfs_mount' has no member named 'm_rt_intents'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                                        ^~
   include/trace/trace_events.h:706:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     706 |  { assign; }       \
         |    ^~~~~~
   fs/xfs/./xfs_trace.h:4894:2: note: in expansion of macro 'TP_fast_assign'
    4894 |  TP_fast_assign(
         |  ^~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   arch/sparc/include/asm/atomic_64.h:17:25: note: in expansion of macro 'READ_ONCE'
      17 | #define atomic_read(v)  READ_ONCE((v)->counter)
         |                         ^~~~~~~~~
   fs/xfs/./xfs_trace.h:4896:25: note: in expansion of macro 'atomic_read'
    4896 |   __entry->nr_intents = atomic_read(&mp->m_rt_intents);
         |                         ^~~~~~~~~~~
..


vim +4868 fs/xfs/./xfs_trace.h

  4855	
  4856	DECLARE_EVENT_CLASS(xfs_perag_intents_class,
  4857		TP_PROTO(struct xfs_perag *pag, void *caller_ip),
  4858		TP_ARGS(pag, caller_ip),
  4859		TP_STRUCT__entry(
  4860			__field(dev_t, dev)
  4861			__field(xfs_agnumber_t, agno)
  4862			__field(long, nr_intents)
  4863			__field(void *, caller_ip)
  4864		),
  4865		TP_fast_assign(
  4866			__entry->dev = pag->pag_mount->m_super->s_dev;
  4867			__entry->agno = pag->pag_agno;
> 4868			__entry->nr_intents = atomic_read(&pag->pag_intents);
  4869			__entry->caller_ip = caller_ip;
  4870		),
  4871		TP_printk("dev %d:%d agno %u intents %ld caller %pS",
  4872			  MAJOR(__entry->dev), MINOR(__entry->dev),
  4873			  __entry->agno,
  4874			  __entry->nr_intents,
  4875			  __entry->caller_ip)
  4876	);
  4877	
  4878	#define DEFINE_PERAG_INTENTS_EVENT(name)	\
  4879	DEFINE_EVENT(xfs_perag_intents_class, name,					\
  4880		TP_PROTO(struct xfs_perag *pag, void *caller_ip), \
  4881		TP_ARGS(pag, caller_ip))
  4882	DEFINE_PERAG_INTENTS_EVENT(xfs_perag_bump_intents);
  4883	DEFINE_PERAG_INTENTS_EVENT(xfs_perag_drop_intents);
  4884	DEFINE_PERAG_INTENTS_EVENT(xfs_perag_wait_intents);
  4885	
  4886	DECLARE_EVENT_CLASS(xfs_rt_intents_class,
  4887		TP_PROTO(struct xfs_mount *mp, void *caller_ip),
  4888		TP_ARGS(mp, caller_ip),
  4889		TP_STRUCT__entry(
  4890			__field(dev_t, dev)
  4891			__field(long, nr_intents)
  4892			__field(void *, caller_ip)
  4893		),
  4894		TP_fast_assign(
  4895			__entry->dev = mp->m_super->s_dev;
> 4896			__entry->nr_intents = atomic_read(&mp->m_rt_intents);
  4897			__entry->caller_ip = caller_ip;
  4898		),
  4899		TP_printk("dev %d:%d intents %ld caller %pS",
  4900			  MAJOR(__entry->dev), MINOR(__entry->dev),
  4901			  __entry->nr_intents,
  4902			  __entry->caller_ip)
  4903	);
  4904	

---
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: 32073 bytes --]

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

only message in thread, other threads:[~2021-07-03  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03  3:12 [djwong-xfs:scrub-drain-intents 357/357] fs/xfs/./xfs_trace.h:4868:41: error: 'struct xfs_perag' has no member named 'pag_intents' 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).