summaryrefslogtreecommitdiff
path: root/fs/f2fs/trace.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-01-07 14:07:36 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:28 -0800
commitc05086506f2204bcf02c9d3eb7950cdf0d8a3bef (patch)
tree497cac2c9e686e280d83e499cf4577c634f8eabe /fs/f2fs/trace.h
parentdd4e4b59b1a4a7e69083e7dc2abbedb5186fd850 (diff)
f2fs: add spin_lock to cover radix operations in IO tracer
This patch adds spin_lock to cover radix tree operations in IO tracer. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/trace.h')
-rw-r--r--fs/f2fs/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/trace.h b/fs/f2fs/trace.h
index aa6663be528c..eb39fa08cd45 100644
--- a/fs/f2fs/trace.h
+++ b/fs/f2fs/trace.h
@@ -34,9 +34,11 @@ struct last_io_info {
extern void f2fs_trace_pid(struct page *);
extern void f2fs_trace_ios(struct page *, struct f2fs_io_info *, int);
+extern void f2fs_build_trace_ios(void);
#else
#define f2fs_trace_pid(p)
#define f2fs_trace_ios(p, i, n)
+#define f2fs_build_trace_ios()
#endif
#endif /* __F2FS_TRACE_H__ */