History

locks: add tracepoint in flock codepath

Jeff Layton committed 8 years ago

Commit c883da31 parent 1cf8e5d2 files · +5 −1Browse files

Showing the changes to include/trace (1 of 2 files). Show all

Unified · Split

include/trace/events/filelock.h+4−1
@@ -112,8 +112,11 @@ DEFINE_EVENT(filelock_lock, locks_remove_posix, · 111 unmodified lines
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
115DECLARE_EVENT_CLASS(filelock_lease,115DEFINE_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
119DECLARE_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),