1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2014 Motorola Mobility
6 * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org>
8 #ifndef __F2FS_TRACE_H__
9 #define __F2FS_TRACE_H__
11 #ifdef CONFIG_F2FS_IO_TRACE
12 #include <trace/events/f2fs.h>
28 struct f2fs_io_info fio
;
32 extern void f2fs_trace_pid(struct page
*);
33 extern void f2fs_trace_ios(struct f2fs_io_info
*, int);
34 extern void f2fs_build_trace_ios(void);
35 extern void f2fs_destroy_trace_ios(void);
37 #define f2fs_trace_pid(p)
38 #define f2fs_trace_ios(i, n)
39 #define f2fs_build_trace_ios()
40 #define f2fs_destroy_trace_ios()
43 #endif /* __F2FS_TRACE_H__ */