summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorLinus Torvalds2018-08-14 06:56:50 +0200
committerLinus Torvalds2018-08-14 06:56:50 +0200
commit575b94386bd539a7d803aee9fd4a8d275844c40f (patch)
treeef5390206b64cf724a1485cfa3566ae20e4b73d2 /include/trace
parentMerge branches 'work.misc' and 'work.dcache' of git://git.kernel.org/pub/scm/... (diff)
parentlocks: remove misleading obsolete comment (diff)
downloadkernel-qcow2-linux-575b94386bd539a7d803aee9fd4a8d275844c40f.tar.gz
kernel-qcow2-linux-575b94386bd539a7d803aee9fd4a8d275844c40f.tar.xz
kernel-qcow2-linux-575b94386bd539a7d803aee9fd4a8d275844c40f.zip
Merge tag 'locks-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux
Pull file locking updates from Jeff Layton: "Just a couple of patches from Konstantin to fix /proc/locks when the process that set the lock has exited, and a new tracepoint for the flock() codepath. Also threw in mailmap entries for my addresses and a comment cleanup" * tag 'locks-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux: locks: remove misleading obsolete comment mailmap: remap some of my email addresses to kernel.org address locks: add tracepoint in flock codepath fs/lock: show locks taken by processes from another pidns fs/lock: skip lock owner pid translation in case we are in init_pid_ns
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/filelock.h5
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,
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),