summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 09:26:31 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 11:54:40 +0400
commite943a10d94f6076f7bc8da91828cbdca5fbf62fc (patch)
tree482befa0b77b78517631f6e158f07a45228f6919 /fs/f2fs
parent26c6b8879911df991dc780c67eaeb84c7629949d (diff)
downloadlinux-e943a10d94f6076f7bc8da91828cbdca5fbf62fc.tar.xz
f2fs: add tracepoint for vm_page_mkwrite
This patch adds a tracepoint for f2fs_vm_page_mkwrite. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index c80faa2fff39..2d4190a4abe3 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -88,6 +88,7 @@ static int f2fs_vm_page_mkwrite(struct vm_area_struct *vma,
set_page_dirty(page);
SetPageUptodate(page);
+ trace_f2fs_vm_page_mkwrite(page, DATA);
mapped:
/* fill the page */
wait_on_page_writeback(page);