summaryrefslogtreecommitdiff
path: root/fs/f2fs/trace.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-01-07 14:09:48 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:28 -0800
commit351f4fba843db3303a92897b21a3d4dff4b6c717 (patch)
treec7f729d8f998e10a861a3e4bbf2aa200df012309 /fs/f2fs/trace.h
parentc05086506f2204bcf02c9d3eb7950cdf0d8a3bef (diff)
f2fs: add f2fs_destroy_trace_ios to free radix tree
This patch removes radix tree after finishing tracing IOs. 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 eb39fa08cd45..1041dbeb52ae 100644
--- a/fs/f2fs/trace.h
+++ b/fs/f2fs/trace.h
@@ -35,10 +35,12 @@ 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);
+extern void f2fs_destroy_trace_ios(void);
#else
#define f2fs_trace_pid(p)
#define f2fs_trace_ios(p, i, n)
#define f2fs_build_trace_ios()
+#define f2fs_destroy_trace_ios()
#endif
#endif /* __F2FS_TRACE_H__ */