18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci#include "bcache.h" 38c2ecf20Sopenharmony_ci#include "btree.h" 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/blktrace_api.h> 68c2ecf20Sopenharmony_ci#include <linux/module.h> 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#define CREATE_TRACE_POINTS 98c2ecf20Sopenharmony_ci#include <trace/events/bcache.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start); 128c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential); 158c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read); 188c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write); 198c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry); 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert); 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key); 248c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write); 258c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full); 268c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize); 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read); 318c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write); 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc); 348c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail); 358c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free); 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce); 388c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start); 398c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end); 408c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy); 418c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision); 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key); 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split); 468c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact); 478c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root); 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate); 508c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail); 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback); 538c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision); 54