[vfs:untested.nfs 51/51] fs/nfs/./nfstrace.h:705:28: error: 'const struct nfs_unlinkdata' has no member named 'dir'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git untested.nfs
head:   ebf230582fa62bb79c27682473dca86cc265f457
commit: ebf230582fa62bb79c27682473dca86cc265f457 [51/51] [untested] per-name sillyunlink exclusion
config: i386-allmodconfig (attached as .config)
compiler: gcc-5 (Debian 5.3.1-14) 5.3.1 20160409
reproduce:
        git checkout ebf230582fa62bb79c27682473dca86cc265f457
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the vfs/untested.nfs HEAD ebf230582fa62bb79c27682473dca86cc265f457 builds fine.
      It only hurts bisectibility.

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

   In file included from include/trace/define_trace.h:95:0,
                    from fs/nfs/nfstrace.h:729,
                    from fs/nfs/nfstrace.c:9:
   fs/nfs/./nfstrace.h: In function 'trace_event_raw_event_nfs_sillyrename_unlink':
>> fs/nfs/./nfstrace.h:705:28: error: 'const struct nfs_unlinkdata' has no member named 'dir'
       struct inode *dir = data->dir;
                               ^
   include/trace/trace_events.h:689:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     { assign; }       \
       ^
   include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
            PARAMS(assign),         \
            ^
>> fs/nfs/./nfstrace.h:689:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(nfs_sillyrename_unlink,
    ^
>> fs/nfs/./nfstrace.h:704:3: note: in expansion of macro 'TP_fast_assign'
      TP_fast_assign(
      ^
   In file included from include/trace/define_trace.h:96:0,
                    from fs/nfs/nfstrace.h:729,
                    from fs/nfs/nfstrace.c:9:
   fs/nfs/./nfstrace.h: In function 'perf_trace_nfs_sillyrename_unlink':
>> fs/nfs/./nfstrace.h:705:28: error: 'const struct nfs_unlinkdata' has no member named 'dir'
       struct inode *dir = data->dir;
                               ^
   include/trace/perf.h:68:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
     { assign; }       \
       ^
   include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
            PARAMS(assign),         \
            ^
>> fs/nfs/./nfstrace.h:689:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(nfs_sillyrename_unlink,
    ^
>> fs/nfs/./nfstrace.h:704:3: note: in expansion of macro 'TP_fast_assign'
      TP_fast_assign(
      ^

vim +705 fs/nfs/./nfstrace.h

70ded201 Trond Myklebust 2013-08-21  683  
70ded201 Trond Myklebust 2013-08-21  684  DEFINE_NFS_RENAME_EVENT(nfs_rename_enter);
70ded201 Trond Myklebust 2013-08-21  685  DEFINE_NFS_RENAME_EVENT_DONE(nfs_rename_exit);
70ded201 Trond Myklebust 2013-08-21  686  
70ded201 Trond Myklebust 2013-08-21  687  DEFINE_NFS_RENAME_EVENT_DONE(nfs_sillyrename_rename);
70ded201 Trond Myklebust 2013-08-21  688  
70ded201 Trond Myklebust 2013-08-21 @689  TRACE_EVENT(nfs_sillyrename_unlink,
70ded201 Trond Myklebust 2013-08-21  690  		TP_PROTO(
70ded201 Trond Myklebust 2013-08-21  691  			const struct nfs_unlinkdata *data,
70ded201 Trond Myklebust 2013-08-21  692  			int error
70ded201 Trond Myklebust 2013-08-21  693  		),
70ded201 Trond Myklebust 2013-08-21  694  
70ded201 Trond Myklebust 2013-08-21  695  		TP_ARGS(data, error),
70ded201 Trond Myklebust 2013-08-21  696  
70ded201 Trond Myklebust 2013-08-21  697  		TP_STRUCT__entry(
70ded201 Trond Myklebust 2013-08-21  698  			__field(dev_t, dev)
70ded201 Trond Myklebust 2013-08-21  699  			__field(int, error)
70ded201 Trond Myklebust 2013-08-21  700  			__field(u64, dir)
70ded201 Trond Myklebust 2013-08-21  701  			__dynamic_array(char, name, data->args.name.len + 1)
70ded201 Trond Myklebust 2013-08-21  702  		),
70ded201 Trond Myklebust 2013-08-21  703  
70ded201 Trond Myklebust 2013-08-21 @704  		TP_fast_assign(
70ded201 Trond Myklebust 2013-08-21 @705  			struct inode *dir = data->dir;
70ded201 Trond Myklebust 2013-08-21  706  			size_t len = data->args.name.len;
70ded201 Trond Myklebust 2013-08-21  707  			__entry->dev = dir->i_sb->s_dev;
70ded201 Trond Myklebust 2013-08-21  708  			__entry->dir = NFS_FILEID(dir);

:::::: The code at line 705 was first introduced by commit
:::::: 70ded2017072ae16aeaa7fb2a15a879a475161a6 NFS: Add tracepoints for debugging NFS rename and sillyrename issues

:::::: TO: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
:::::: CC: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux