mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
locks: add tracepoint in flock codepath
Signed-off-by: Jeff Layton <jlayton@kernel.org>
This commit is contained in:
parent
1cf8e5de40
commit
c883da313e
2 changed files with 5 additions and 1 deletions
|
|
@ -112,8 +112,11 @@ DEFINE_EVENT(filelock_lock, locks_remove_posix,
|
|||
TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
|
||||
TP_ARGS(inode, fl, ret));
|
||||
|
||||
DECLARE_EVENT_CLASS(filelock_lease,
|
||||
DEFINE_EVENT(filelock_lock, flock_lock_inode,
|
||||
TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
|
||||
TP_ARGS(inode, fl, ret));
|
||||
|
||||
DECLARE_EVENT_CLASS(filelock_lease,
|
||||
TP_PROTO(struct inode *inode, struct file_lock *fl),
|
||||
|
||||
TP_ARGS(inode, fl),
|
||||
|
|
|
|||
Loading…
Reference in a new issue