summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorHou Pengyang <houpengyang@huawei.com>2017-02-27 16:02:58 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2017-02-27 21:51:20 +0300
commitb8d96a30b6f1c29e1ab716b3727a63fe7268f661 (patch)
tree8cf31db8ee83b6fecf163cfe5b31714c10f2866a /include/trace
parent7bb3a371d199156cb6a863feab377146b80942c5 (diff)
downloadlinux-b8d96a30b6f1c29e1ab716b3727a63fe7268f661.tar.xz
f2fs: add f2fs_drop_inode tracepoint
Signed-off-by: Hou Pengyang <houpengyang@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/f2fs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index ff31ccfb8111..c80fcad0a6c9 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -315,6 +315,13 @@ DEFINE_EVENT(f2fs__inode_exit, f2fs_unlink_exit,
TP_ARGS(inode, ret)
);
+DEFINE_EVENT(f2fs__inode_exit, f2fs_drop_inode,
+
+ TP_PROTO(struct inode *inode, int ret),
+
+ TP_ARGS(inode, ret)
+);
+
DEFINE_EVENT(f2fs__inode, f2fs_truncate,
TP_PROTO(struct inode *inode),