WIP FPC-III support
[linux/fpc-iii.git] / drivers / md / bcache / trace.c
bloba9a73f560c044243e2ad9357d22725576ea5bbcc
1 // SPDX-License-Identifier: GPL-2.0
2 #include "bcache.h"
3 #include "btree.h"
5 #include <linux/blktrace_api.h>
6 #include <linux/module.h>
8 #define CREATE_TRACE_POINTS
9 #include <trace/events/bcache.h>
11 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start);
12 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end);
14 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential);
15 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested);
17 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read);
18 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write);
19 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
21 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert);
23 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key);
24 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write);
25 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full);
26 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full);
28 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize);
30 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
31 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
33 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc);
34 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail);
35 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free);
37 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce);
38 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
39 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
40 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
41 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
43 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
45 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split);
46 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact);
47 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root);
49 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate);
50 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
52 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
53 EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);