diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-04-25 13:24:33 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-04-29 10:52:01 +0900 |
commit | d70b4f53b950676228297f0b204f2e1512c1ff6c (patch) | |
tree | 1996ac697866902378e357a52bd54eb7fd1fe0b4 /include/trace | |
parent | 9198aceb53a493d1be0f3a5a1ce13c07a6fdcd26 (diff) | |
download | linux-d70b4f53b950676228297f0b204f2e1512c1ff6c.tar.gz linux-d70b4f53b950676228297f0b204f2e1512c1ff6c.tar.bz2 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')
-rw-r--r-- | include/trace/events/f2fs.h | 7 |
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), |