Unified · Split
| @@ -990,6 +990,7 @@ out: · 989 unmodified lines | ||
| 990 | 990 | if (new_fl) |
| 991 | 991 | locks_free_lock(new_fl); |
| 992 | 992 | locks_dispose_list(&dispose); |
| 993 | + trace_flock_lock_inode(inode, request, error); | |
| 993 | 994 | return error; |
| 994 | 995 | } |
| 995 | 996 | |
| @@ -112,8 +112,11 @@ DEFINE_EVENT(filelock_lock, locks_remove_posix, · 111 unmodified lines | ||
| 112 | 112 | TP_PROTO(struct inode *inode, struct file_lock *fl, int ret), |
| 113 | 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 | 120 | TP_PROTO(struct inode *inode, struct file_lock *fl), |
| 118 | 121 | |
| 119 | 122 | TP_ARGS(inode, fl), |