locks: sprinkle some tracepoints around the file locking code
authorJeff Layton <jeff.layton@primarydata.com>
Thu, 7 Jan 2016 02:26:10 +0000 (21:26 -0500)
committerJeff Layton <jeff.layton@primarydata.com>
Fri, 8 Jan 2016 16:38:13 +0000 (11:38 -0500)
commit1890910fd06fefbfa1cbeaf88357783914af71f6
treeef28622f639666a05e89052573f595ca0e45c090
parent0752ba807b04ccd69cb4bc8bbf829a80ee208a3c
locks: sprinkle some tracepoints around the file locking code

Add some tracepoints around the POSIX locking code. These were useful
when tracking down problems when handling the race between setlk and
close.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Acked-by: "J. Bruce Fields" <bfields@fieldses.org>
fs/locks.c
include/trace/events/filelock.h