diff options
| author | Jeff Layton <jlayton@kernel.org> | 2018-07-30 07:54:56 -0400 |
|---|---|---|
| committer | Jeff Layton <jlayton@kernel.org> | 2018-08-06 13:15:16 -0400 |
| commit | c883da313ebf459efd33d262ca963e3a5f0ac024 (patch) | |
| tree | 2858e05b2ca3a6e5e75b20e580d97a40d29e357b /include/trace | |
| parent | 1cf8e5de4055f85383405a21a0a7c3c4348bf2ed (diff) | |
locks: add tracepoint in flock codepath
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/filelock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/trace/events/filelock.h b/include/trace/events/filelock.h index d1faf3597b9d..68b17c116907 100644 --- a/include/trace/events/filelock.h +++ b/include/trace/events/filelock.h | |||
| @@ -112,8 +112,11 @@ DEFINE_EVENT(filelock_lock, locks_remove_posix, | |||
| 112 | TP_PROTO(struct inode *inode, struct file_lock *fl, int ret), | 112 | TP_PROTO(struct inode *inode, struct file_lock *fl, int ret), |
| 113 | TP_ARGS(inode, fl, ret)); | 113 | TP_ARGS(inode, fl, ret)); |
| 114 | 114 | ||
| 115 | DECLARE_EVENT_CLASS(filelock_lease, | 115 | DEFINE_EVENT(filelock_lock, flock_lock_inode, |
| 116 | TP_PROTO(struct inode *inode, struct file_lock *fl, int ret), | ||
| 117 | TP_ARGS(inode, fl, ret)); | ||
| 116 | 118 | ||
| 119 | DECLARE_EVENT_CLASS(filelock_lease, | ||
| 117 | TP_PROTO(struct inode *inode, struct file_lock *fl), | 120 | TP_PROTO(struct inode *inode, struct file_lock *fl), |
| 118 | 121 | ||
| 119 | TP_ARGS(inode, fl), | 122 | TP_ARGS(inode, fl), |
