Re: [PATCH v3 00/16] NFS add tracepoints

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

 



On Tue, 2013-08-20 at 16:50 -0400, Bryan Schumaker wrote:
> Hi Trond,
> 
> This is what I see when I try to compile testing.
> 
> - Bryan
> 
> 
> scripts/kconfig/conf --oldconfig Kconfig
> #
> # configuration written to .config
> #
> scripts/kconfig/conf --silentoldconfig Kconfig
> make[1]: Nothing to be done for `all'.
>   CHK     include/generated/uapi/linux/version.h
>   CHK     include/generated/utsrelease.h
> make[1]: Nothing to be done for `relocs'.
>   CALL    scripts/checksyscalls.sh
>   CHK     include/generated/compile.h
> make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
>   GZIP    kernel/config_data.gz
>   CHK     kernel/config_data.h
>   CC [M]  fs/nfs/nfstrace.o
> In file included from fs/nfs/nfstrace.h:358:0,
>                  from fs/nfs/nfstrace.c:9:
> include/trace/define_trace.h:83:43: fatal error: ./nfstrace.h: No such file or directory
>  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
>                                            ^
> compilation terminated.
> make[2]: *** [fs/nfs/nfstrace.o] Error 1
>   CC [M]  fs/nfs/nfs4trace.o
> In file included from fs/nfs/nfs4trace.h:1109:0,
>                  from fs/nfs/nfs4trace.c:11:
> include/trace/define_trace.h:83:43: fatal error: ./nfs4trace.h: No such file or directory
>  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
>                                            ^
> compilation terminated.
> make[2]: *** [fs/nfs/nfs4trace.o] Error 1
> make[2]: Target `__build' not remade because of errors.
> make[1]: *** [fs/nfs] Error 2
> make[1]: Target `__build' not remade because of errors.
> make: *** [fs] Error 2
> make: Target `_all' not remade because of errors.
> nfs make  13.58s user 3.19s system 257% cpu 6.512 total
> 

Hmm... Does the following patch fix the problem?

Cheers
  Trond
-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
diff --git a/fs/nfs/nfs4trace.h b/fs/nfs/nfs4trace.h
index aac1564..ba904636 100644
--- a/fs/nfs/nfs4trace.h
+++ b/fs/nfs/nfs4trace.h
@@ -1103,7 +1103,7 @@ DEFINE_NFS4_INODE_EVENT(nfs4_layoutreturn);
 #endif /* _TRACE_NFS4_H */
 
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../fs/nfs
 #define TRACE_INCLUDE_FILE nfs4trace
 /* This part must be outside protection */
 #include <trace/define_trace.h>
diff --git a/fs/nfs/nfstrace.h b/fs/nfs/nfstrace.h
index 74cd1d7..b9d8ca9 100644
--- a/fs/nfs/nfstrace.h
+++ b/fs/nfs/nfstrace.h
@@ -352,7 +352,7 @@ TRACE_EVENT(nfs_atomic_open_exit,
 #endif /* _TRACE_NFS_H */
 
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../fs/nfs
 #define TRACE_INCLUDE_FILE nfstrace
 /* This part must be outside protection */
 #include <trace/define_trace.h>

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux