summaryrefslogtreecommitdiff
path: root/fs/f2fs/trace.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-12-18 03:45:05 (GMT)
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-10 01:02:24 (GMT)
commit63f92ddc8aee18838441179064338702a93326a9 (patch)
tree42cf7109edcebe2bebb8dca7f4419721a32231db /fs/f2fs/trace.c
parentcf04e8eb55290c7b836c36f0b4e1a8d0fe8ee275 (diff)
downloadlinux-63f92ddc8aee18838441179064338702a93326a9.tar.xz
f2fs: add f2fs_io_tracer support
This patch adds: o initial trace.c and trace.h with skeleton functions o Kconfig and Makefile to activate this feature Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/trace.c')
-rw-r--r--fs/f2fs/trace.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/fs/f2fs/trace.c b/fs/f2fs/trace.c
new file mode 100644
index 0000000..4e4a069
--- /dev/null
+++ b/fs/f2fs/trace.c
@@ -0,0 +1,24 @@
+/*
+ * f2fs IO tracer
+ *
+ * Copyright (c) 2014 Motorola Mobility
+ * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/fs.h>
+#include <linux/f2fs_fs.h>
+#include <linux/sched.h>
+
+#include "f2fs.h"
+#include "trace.h"
+
+void f2fs_trace_pid(struct page *page)
+{
+}
+
+void f2fs_trace_ios(struct page *page, struct f2fs_io_info *fio, int flush)
+{
+}