summaryrefslogtreecommitdiffstats
path: root/include/trace/events/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-04-25 06:24:33 +0200
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-04-29 03:52:01 +0200
commitd70b4f53b950676228297f0b204f2e1512c1ff6c (patch)
tree1996ac697866902378e357a52bd54eb7fd1fe0b4 /include/trace/events/f2fs.h
parentf2fs: check nid == 0 in add_free_nid (diff)
downloadlinux-d70b4f53b950676228297f0b204f2e1512c1ff6c.tar.xz
linux-d70b4f53b950676228297f0b204f2e1512c1ff6c.zip
f2fs: add a tracepoint on f2fs_new_inode
This can help when debugging the free nid allocation flows. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'include/trace/events/f2fs.h')
-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 b2b2f72a023d..52ae54828eda 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -197,6 +197,13 @@ DEFINE_EVENT(f2fs__inode, f2fs_evict_inode,
TP_ARGS(inode)
);
+DEFINE_EVENT(f2fs__inode_exit, f2fs_new_inode,
+
+ TP_PROTO(struct inode *inode, int ret),
+
+ TP_ARGS(inode, ret)
+);
+
TRACE_EVENT(f2fs_unlink_enter,
TP_PROTO(struct inode *dir, struct dentry *dentry),