locks: add some tracepoints in the lease handling code
authorJeff Layton <jlayton@poochiereds.net>
Fri, 9 May 2014 18:13:05 +0000 (14:13 -0400)
committerJeff Layton <jlayton@poochiereds.net>
Mon, 2 Jun 2014 12:09:30 +0000 (08:09 -0400)
commit0e3efe0554ccc935558ed8f77ee8376b854d61ce
tree5fdc044c1d7eed924a90d101a306ba53617ebac2
parentd706595e58acb631cb31bf22c896dec46b9c560e
locks: add some tracepoints in the lease handling code

v2: add a __break_lease tracepoint for non-blocking case

Recently, I needed these to help track down a softlockup when recalling a
delegation, but they might be helpful in other situations as well.

Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@poochiereds.net>
fs/locks.c
include/trace/events/filelock.h [new file with mode: 0644]