aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-05-06 04:48:26 -0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-06 21:21:59 -0400
commitecda0de3430455378f1c02523bf3ad71d91d613a (patch)
tree070ac2a1739edd7daa504bf286ffb353b3349b71 /include/trace
parentdfb2bf38bf89e15a65f9996566b2945921388a2f (diff)
f2fs: add a tracepoint for f2fs_write_{meta,node,data}_page
This patch adds a tracepoint for f2fs_write_{meta,node,data}_page to trace when page is writting out. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'include/trace')
-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 483804b55742..d70991e69e58 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -751,6 +751,13 @@ DECLARE_EVENT_CLASS(f2fs__page,
751 __entry->dirty) 751 __entry->dirty)
752); 752);
753 753
754DEFINE_EVENT(f2fs__page, f2fs_writepage,
755
756 TP_PROTO(struct page *page, int type),
757
758 TP_ARGS(page, type)
759);
760
754DEFINE_EVENT(f2fs__page, f2fs_set_page_dirty, 761DEFINE_EVENT(f2fs__page, f2fs_set_page_dirty,
755 762
756 TP_PROTO(struct page *page, int type), 763 TP_PROTO(struct page *page, int type),