Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 1 | #include "bcache.h" |
| 2 | #include "btree.h" |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 3 | |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 4 | #include <linux/blktrace_api.h> |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 5 | #include <linux/module.h> |
| 6 | |
| 7 | #define CREATE_TRACE_POINTS |
| 8 | #include <trace/events/bcache.h> |
| 9 | |
| 10 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start); |
| 11 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 12 | |
| 13 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential); |
| 14 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested); |
| 15 | |
| 16 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read); |
| 17 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write); |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 18 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 19 | |
| 20 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert); |
| 21 | |
| 22 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key); |
| 23 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write); |
| 24 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full); |
| 25 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full); |
| 26 | |
| 27 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize); |
| 28 | |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 29 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read); |
| 30 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 31 | |
| 32 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc); |
| 33 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail); |
| 34 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free); |
| 35 | |
| 36 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce); |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 37 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start); |
| 38 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 39 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy); |
| 40 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision); |
| 41 | |
Kent Overstreet | 85b1492 | 2013-05-14 20:33:16 -0700 | [diff] [blame] | 42 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key); |
| 43 | |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 44 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split); |
| 45 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact); |
| 46 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root); |
| 47 | |
| 48 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_invalidate); |
| 49 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail); |
| 50 | |
| 51 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback); |
| 52 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision); |