Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 2 | #include "bcache.h" |
| 3 | #include "btree.h" |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 4 | |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 5 | #include <linux/blktrace_api.h> |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 6 | #include <linux/module.h> |
| 7 | |
| 8 | #define CREATE_TRACE_POINTS |
| 9 | #include <trace/events/bcache.h> |
| 10 | |
| 11 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start); |
| 12 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 13 | |
| 14 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential); |
| 15 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested); |
| 16 | |
| 17 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read); |
| 18 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write); |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 19 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 20 | |
| 21 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert); |
| 22 | |
| 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); |
| 27 | |
| 28 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize); |
| 29 | |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 30 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read); |
| 31 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 32 | |
| 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); |
| 36 | |
| 37 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce); |
Kent Overstreet | cafe563 | 2013-03-23 16:11:31 -0700 | [diff] [blame] | 38 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start); |
| 39 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 40 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy); |
| 41 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision); |
| 42 | |
Kent Overstreet | 85b1492 | 2013-05-14 20:33:16 -0700 | [diff] [blame] | 43 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key); |
| 44 | |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 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); |
| 48 | |
Kent Overstreet | 7159b1a | 2014-02-12 18:43:32 -0800 | [diff] [blame] | 49 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate); |
Kent Overstreet | c37511b | 2013-04-26 15:39:55 -0700 | [diff] [blame] | 50 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail); |
| 51 | |
| 52 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback); |
| 53 | EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision); |