[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111171341.yENWdper-lkp@intel.com>
Date: Wed, 17 Nov 2021 13:15:50 +0800
From: kernel test robot <lkp@...el.com>
To: Chuck Lever <chuck.lever@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [cel:topic-nfsd-tracepoints 34/162]
include/trace/../../fs/nfsd/xdr3trace.h:719:36: error: 'const struct svc_fh'
has no member named 'fh_pre_size'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-nfsd-tracepoints
head: b6c4274cc47f0469a384be035e9f685deeb018c6
commit: 8addf3db7506f7267b63a56af40b10b42197df1e [34/162] NFSD: Add tracepoints to record encoded NFSv3 wcc_data results
config: microblaze-buildonly-randconfig-r006-20211116 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/commit/?id=8addf3db7506f7267b63a56af40b10b42197df1e
git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git fetch --no-tags cel topic-nfsd-tracepoints
git checkout 8addf3db7506f7267b63a56af40b10b42197df1e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/trace/define_trace.h:102,
from fs/nfsd/xdrtrace.h:105,
from fs/nfsd/xdrtrace.c:13:
include/trace/../../fs/nfsd/xdr3trace.h: In function 'trace_event_raw_event_encode_wcc_data_pre_attr':
>> include/trace/../../fs/nfsd/xdr3trace.h:719:36: error: 'const struct svc_fh' has no member named 'fh_pre_size'
719 | __entry->size = fhp->fh_pre_size;
| ^~
include/trace/trace_events.h:743:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
743 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:699:1: note: in expansion of macro 'TRACE_EVENT'
699 | TRACE_EVENT(encode_wcc_data_pre_attr,
| ^~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:715:9: note: in expansion of macro 'TP_fast_assign'
715 | TP_fast_assign(
| ^~~~~~~~~~~~~~
>> include/trace/../../fs/nfsd/xdr3trace.h:720:41: error: 'const struct svc_fh' has no member named 'fh_pre_mtime'
720 | __entry->mtime_sec = fhp->fh_pre_mtime.tv_sec;
| ^~
include/trace/trace_events.h:743:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
743 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:699:1: note: in expansion of macro 'TRACE_EVENT'
699 | TRACE_EVENT(encode_wcc_data_pre_attr,
| ^~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:715:9: note: in expansion of macro 'TP_fast_assign'
715 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:721:42: error: 'const struct svc_fh' has no member named 'fh_pre_mtime'
721 | __entry->mtime_nsec = fhp->fh_pre_mtime.tv_nsec;
| ^~
include/trace/trace_events.h:743:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
743 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:699:1: note: in expansion of macro 'TRACE_EVENT'
699 | TRACE_EVENT(encode_wcc_data_pre_attr,
| ^~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:715:9: note: in expansion of macro 'TP_fast_assign'
715 | TP_fast_assign(
| ^~~~~~~~~~~~~~
>> include/trace/../../fs/nfsd/xdr3trace.h:722:41: error: 'const struct svc_fh' has no member named 'fh_pre_ctime'
722 | __entry->ctime_sec = fhp->fh_pre_ctime.tv_sec;
| ^~
include/trace/trace_events.h:743:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
743 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:699:1: note: in expansion of macro 'TRACE_EVENT'
699 | TRACE_EVENT(encode_wcc_data_pre_attr,
| ^~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:715:9: note: in expansion of macro 'TP_fast_assign'
715 | TP_fast_assign(
| ^~~~~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:723:42: error: 'const struct svc_fh' has no member named 'fh_pre_ctime'
723 | __entry->ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
| ^~
include/trace/trace_events.h:743:11: note: in definition of macro 'DECLARE_EVENT_CLASS'
743 | { assign; } \
| ^~~~~~
include/trace/trace_events.h:79:30: note: in expansion of macro 'PARAMS'
79 | PARAMS(assign), \
| ^~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:699:1: note: in expansion of macro 'TRACE_EVENT'
699 | TRACE_EVENT(encode_wcc_data_pre_attr,
| ^~~~~~~~~~~
include/trace/../../fs/nfsd/xdr3trace.h:715:9: note: in expansion of macro 'TP_fast_assign'
715 | TP_fast_assign(
| ^~~~~~~~~~~~~~
vim +719 include/trace/../../fs/nfsd/xdr3trace.h
693
694
695 /**
696 ** Server-side result encoding tracepoints
697 **/
698
699 TRACE_EVENT(encode_wcc_data_pre_attr,
700 TP_PROTO(
701 const struct svc_rqst *rqstp,
702 const struct svc_fh *fhp
703 ),
704 TP_ARGS(rqstp, fhp),
705 TP_STRUCT__entry(
706 TRACE_SVC_XDR_FIELDS(rqstp)
707
708 __field(u32, fh_hash)
709 __field(u64, size)
710 __field(s64, mtime_sec)
711 __field(long, mtime_nsec)
712 __field(s64, ctime_sec)
713 __field(long, ctime_nsec)
714 ),
715 TP_fast_assign(
716 TRACE_SVC_XDR_ASSIGNS(rqstp);
717
718 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
> 719 __entry->size = fhp->fh_pre_size;
> 720 __entry->mtime_sec = fhp->fh_pre_mtime.tv_sec;
721 __entry->mtime_nsec = fhp->fh_pre_mtime.tv_nsec;
> 722 __entry->ctime_sec = fhp->fh_pre_ctime.tv_sec;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (36213 bytes)
Powered by blists - more mailing lists