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
112112 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret),
113113 TP_ARGS(inode, fl, ret));
114114
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));
116118
119+DECLARE_EVENT_CLASS(filelock_lease,
117120 TP_PROTO(struct inode *inode, struct file_lock *fl),
118121
119122 TP_ARGS(inode, fl),