mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 17:56:49 +07:00
220bb38c21
With all the recent refactoring around struct btree op struct search has gotten rather large. But we can now easily break it up in a different way - we break out struct btree_insert_op which is for inserting data into the cache, and that's now what the copying gc code uses - struct search is now specific to request.c Signed-off-by: Kent Overstreet <kmo@daterainc.com>
53 lines
1.8 KiB
C
53 lines
1.8 KiB
C
#include "bcache.h"
|
|
#include "btree.h"
|
|
|
|
#include <linux/blktrace_api.h>
|
|
#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);
|
|
|
|
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);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
|
|
|
|
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);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
|
|
|
|
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);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
|
|
|
|
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);
|