diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-04-15 09:22:19 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-05-09 06:23:13 +0200 |
commit | d764834378a9870ca56e9b2977ea46e9911ec358 (patch) | |
tree | b2ad2e39e2e2f5b3a44fda6fa145ec73825c4ed6 /fs | |
parent | f2fs: introduce DATA_GENERIC_ENHANCE (diff) | |
download | linux-d764834378a9870ca56e9b2977ea46e9911ec358.tar.xz linux-d764834378a9870ca56e9b2977ea46e9911ec358.zip |
f2fs: add tracepoint for f2fs_filemap_fault()
This patch adds tracepoint for f2fs_filemap_fault().
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 3baa39e3e1fd..45b45f37d347 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -39,6 +39,8 @@ static vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf) ret = filemap_fault(vmf); up_read(&F2FS_I(inode)->i_mmap_sem); + trace_f2fs_filemap_fault(inode, vmf->pgoff, (unsigned long)ret); + return ret; } |