1 #include "bcache.h" 2 #include "btree.h" 3 4 #include <linux/blktrace_api.h> 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); 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); 18 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry); 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 29 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read); 30 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write); 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); 37 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start); 38 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end); 39 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy); 40 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision); 41 42 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key); 43 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); 53