linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bryan Schumaker <bjschuma@gmail.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH v3 00/16] NFS add tracepoints
Date: Tue, 20 Aug 2013 16:50:17 -0400	[thread overview]
Message-ID: <5213D689.3030103@gmail.com> (raw)
In-Reply-To: <1377027312-45957-1-git-send-email-Trond.Myklebust@netapp.com>

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


On 08/20/2013 03:34 PM, Trond Myklebust wrote:
> The following patchset sets up a number of ftrace tracepoints for use
> when debugging state operations and NFS performance issues.
> 
> Changes in v2:
>  - Fixed compile bugs
>  - We need to convert the delegation recall status to a negative number
>  - Added tracepoints for read/write, pnfs and slot table debugging.
> 
> Changes in v3:
>  - Added tracepoints for generic NFS code
>    - lookups
>    - atomic open
>    - inode cache consistency operations
>    - internal fsync and data flush operations
>  - Assorted cleanups and bugfixes
> 
> 
> Trond Myklebust (16):
>   NFS: refactor code for calculating the crc32 hash of a filehandle
>   NFS: Add event tracing for generic NFS events
>   NFS: Pass in lookup flags from nfs_atomic_open to nfs_lookup
>   NFS: Add event tracing for generic NFS lookups
>   NFSv4: Add tracepoints for debugging state management problems
>   NFSv4: Add tracepoints for debugging file open
>   NFSv4: Add tracepoints for debugging file locking
>   NFSv4: Add tracepoints for debugging lookup/create operations
>   NFSv4: Add tracepoints for debugging inode manipulations
>   NFSv4: Add tracepoints for debugging rename
>   NFSv4: Add tracepoints for debugging delegations
>   NFSv4: Add tracepoints for debugging the idmapper
>   NFSv4: Add tracepoints for debugging getattr
>   NFSv4: Add tracepoints for debugging reads and writes
>   NFSv4.1: Add tracepoints for debugging layoutget/return/commit
>   NFSv4.1: Add tracepoints for debugging slot table operations
> 
>  fs/nfs/Makefile         |    5 +-
>  fs/nfs/callback_proc.c  |    3 +
>  fs/nfs/delegation.c     |    3 +
>  fs/nfs/dir.c            |   27 +-
>  fs/nfs/file.c           |    5 +
>  fs/nfs/idmap.c          |    5 +
>  fs/nfs/inode.c          |   32 +-
>  fs/nfs/internal.h       |   20 +
>  fs/nfs/nfs4filelayout.c |    4 +
>  fs/nfs/nfs4proc.c       |  131 ++++--
>  fs/nfs/nfs4session.h    |   10 +
>  fs/nfs/nfs4trace.c      |   17 +
>  fs/nfs/nfs4trace.h      | 1109 +++++++++++++++++++++++++++++++++++++++++++++++
>  fs/nfs/nfstrace.c       |    9 +
>  fs/nfs/nfstrace.h       |  358 +++++++++++++++
>  fs/nfs/pnfs.c           |    3 +
>  fs/nfs/write.c          |   15 +-
>  17 files changed, 1705 insertions(+), 51 deletions(-)
>  create mode 100644 fs/nfs/nfs4trace.c
>  create mode 100644 fs/nfs/nfs4trace.h
>  create mode 100644 fs/nfs/nfstrace.c
>  create mode 100644 fs/nfs/nfstrace.h
> 


  parent reply	other threads:[~2013-08-20 20:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 19:34 [PATCH v3 00/16] NFS add tracepoints Trond Myklebust
2013-08-20 19:34 ` [PATCH v3 01/16] NFS: refactor code for calculating the crc32 hash of a filehandle Trond Myklebust
2013-08-20 19:34   ` [PATCH v3 02/16] NFS: Add event tracing for generic NFS events Trond Myklebust
2013-08-20 19:34     ` [PATCH v3 03/16] NFS: Pass in lookup flags from nfs_atomic_open to nfs_lookup Trond Myklebust
2013-08-20 19:35       ` [PATCH v3 04/16] NFS: Add event tracing for generic NFS lookups Trond Myklebust
2013-08-20 19:35         ` [PATCH v3 05/16] NFSv4: Add tracepoints for debugging state management problems Trond Myklebust
2013-08-20 19:35           ` [PATCH v3 06/16] NFSv4: Add tracepoints for debugging file open Trond Myklebust
2013-08-20 19:35             ` [PATCH v3 07/16] NFSv4: Add tracepoints for debugging file locking Trond Myklebust
2013-08-20 19:35               ` [PATCH v3 08/16] NFSv4: Add tracepoints for debugging lookup/create operations Trond Myklebust
2013-08-20 19:35                 ` [PATCH v3 09/16] NFSv4: Add tracepoints for debugging inode manipulations Trond Myklebust
2013-08-20 19:35                   ` [PATCH v3 10/16] NFSv4: Add tracepoints for debugging rename Trond Myklebust
2013-08-20 19:35                     ` [PATCH v3 11/16] NFSv4: Add tracepoints for debugging delegations Trond Myklebust
2013-08-20 19:35                       ` [PATCH v3 12/16] NFSv4: Add tracepoints for debugging the idmapper Trond Myklebust
2013-08-20 19:35                         ` [PATCH v3 13/16] NFSv4: Add tracepoints for debugging getattr Trond Myklebust
2013-08-20 19:35                           ` [PATCH v3 14/16] NFSv4: Add tracepoints for debugging reads and writes Trond Myklebust
2013-08-20 19:35                             ` [PATCH v3 15/16] NFSv4.1: Add tracepoints for debugging layoutget/return/commit Trond Myklebust
2013-08-20 19:35                               ` [PATCH v3 16/16] NFSv4.1: Add tracepoints for debugging slot table operations Trond Myklebust
2013-08-20 20:50 ` Bryan Schumaker [this message]
2013-08-20 21:11   ` [PATCH v3 00/16] NFS add tracepoints Myklebust, Trond
2013-08-21  6:39     ` Christoph Hellwig
2013-08-21 13:16       ` Myklebust, Trond
2013-08-21 13:28         ` Bryan Schumaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5213D689.3030103@gmail.com \
    --to=bjschuma@gmail.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).