| // SPDX-License-Identifier: GPL-2.0 |
| * Copyright (c) 2014 Motorola Mobility |
| * Copyright (c) 2014 Jaegeuk Kim <jaegeuk@kernel.org> |
| #ifdef CONFIG_F2FS_IO_TRACE |
| #include <trace/events/f2fs.h> |
| extern void f2fs_trace_pid(struct page *); |
| extern void f2fs_trace_ios(struct f2fs_io_info *, int); |
| extern void f2fs_build_trace_ios(void); |
| extern void f2fs_destroy_trace_ios(void); |
| #define f2fs_trace_pid(p) |
| #define f2fs_trace_ios(i, n) |
| #define f2fs_build_trace_ios() |
| #define f2fs_destroy_trace_ios() |
| #endif /* __F2FS_TRACE_H__ */ |