2013-03-24 07:11:31 +08:00
|
|
|
#include "bcache.h"
|
|
|
|
#include "btree.h"
|
|
|
|
#include "request.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);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_invalidate);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
|
|
|
|
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);
|