2013-03-24 06:11:31 +07:00
|
|
|
#include "bcache.h"
|
|
|
|
#include "btree.h"
|
|
|
|
|
2013-04-27 05:39:55 +07:00
|
|
|
#include <linux/blktrace_api.h>
|
2013-03-24 06:11:31 +07: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 05:39:55 +07: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 06:11:31 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
|
2013-04-27 05:39:55 +07: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 06:11:31 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
|
2013-04-27 05:39:55 +07: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 06:11:31 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
|
2013-04-27 05:39:55 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
|
|
|
|
|
2013-05-15 10:33:16 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
|
|
|
|
|
2013-04-27 05:39:55 +07: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 09:43:32 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate);
|
2013-04-27 05:39:55 +07:00
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);
|