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)
commit62af4f1f7df44ea0bb1a11c94ac9fb384bf1c564
tree5fdc044c1d7eed924a90d101a306ba53617ebac2
parent5315c26a6c557f44733725004fc7dc25c8a94cd5
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]