/* * 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. */ #ifndef __F2FS_TRACE_H__ #define __F2FS_TRACE_H__ #ifdef CONFIG_F2FS_IO_TRACE #include <trace/events/f2fs.h> enum file_type { __NORMAL_FILE, __DIR_FILE, __NODE_FILE, __META_FILE, __ATOMIC_FILE, __VOLATILE_FILE, __MISC_FILE, }; struct last_io_info { int major, minor; pid_t pid; enum file_type type; struct f2fs_io_info fio; block_t len; }; 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); #else #define f2fs_trace_pid(p) #define f2fs_trace_ios(i, n) #define f2fs_build_trace_ios() #define f2fs_destroy_trace_ios() #endif #endif /* __F2FS_TRACE_H__ */ > <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master'>master</option> <option value='nds-private-remove' selected='selected'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/fs/bfs/bfs.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/fs/bfs/bfs.h?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/fs/bfs/bfs.h?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/fs/bfs/bfs.h?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/fs/bfs/bfs.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='5a70348e1187c5bf1cbd0ec51843f36befed1c2d'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>fs</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs/bfs?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>bfs</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs/bfs/bfs.h?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d'>bfs.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/fs/bfs/bfs.h?h=nds-private-remove&id=5a70348e1187c5bf1cbd0ec51843f36befed1c2d&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>