diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-04-23 08:00:52 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-04-23 09:15:16 (GMT) |
commit | c01e285324793a86c2c90c8451ed6feb04b3d310 (patch) | |
tree | ea072bf411ce60ca40e4fb4c44400d58cdf9499d /fs/f2fs/file.c | |
parent | 8e46b3ed11b750a740fec0a313ad9118059fc37b (diff) | |
download | linux-c01e285324793a86c2c90c8451ed6feb04b3d310.tar.xz |
f2fs: add tracepoints to debug the block allocation
Add tracepoints to debug the block allocation & fallocate.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
[Jaegeuk: enhance information]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r-- | fs/f2fs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 71efa37..0e56db2 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -546,6 +546,7 @@ static long f2fs_fallocate(struct file *file, int mode, inode->i_mtime = inode->i_ctime = CURRENT_TIME; mark_inode_dirty(inode); } + trace_f2fs_fallocate(inode, mode, offset, len, ret); return ret; } |