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
10EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start);
11EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end);
12
13EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential);
14EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested);
15
16EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read);
17EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write);
18EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
19
20EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert);
21
22EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key);
23EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write);
24EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full);
25EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full);
26
27EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize);
28
29EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
30EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
31
32EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc);
33EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail);
34EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free);
35
36EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce);
37EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
38EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
39EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
40EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
41
42EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
43
44EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split);
45EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact);
46EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root);
47
48EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate);
49EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
50
51EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
52EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);
53