4 #include <linux/blktrace_api.h>
5 #include <linux/module.h>
7 #define CREATE_TRACE_POINTS
8 #include <trace/events/bcache.h>
10 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start
);
11 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end
);
13 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential
);
14 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested
);
16 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read
);
17 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write
);
18 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry
);
20 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert
);
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
);
27 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize
);
29 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read
);
30 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write
);
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
);
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
);
42 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key
);
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
);
48 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_invalidate
);
49 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail
);
51 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback
);
52 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision
);