2013-03-24 07:11:31 +08:00
|
|
|
#include "bcache.h"
|
|
|
|
#include "btree.h"
|
|
|
|
|
2013-04-27 06:39:55 +08:00
|
|
|
#include <linux/blktrace_api.h>
|
2013-03-24 07:11:31 +08:00
|
|
|
#include <linux/module.h>
|
|
|
|
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
|
|
#include <trace/events/bcache.h>
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end);
|
2013-04-27 06:39:55 +08:00
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write);
|
2013-03-24 07:11:31 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
|
2013-04-27 06:39:55 +08:00
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize);
|
|
|
|
|
2013-03-24 07:11:31 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
|
2013-04-27 06:39:55 +08:00
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce);
|
2013-03-24 07:11:31 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
|
2013-04-27 06:39:55 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
|
|
|
|
|
2013-05-15 11:33:16 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
|
|
|
|
|
2013-04-27 06:39:55 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root);
|
|
|
|
|
2014-02-13 10:43:32 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate);
|
2013-04-27 06:39:55 +08:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);
|