1 Star 0 Fork 0

sktan/dbcache-openeuler20.03

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
trace.c 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
TanShiKai 提交于 2023-12-18 06:44 . initial commit
#include "dbcache.h"
#include "btree.h"
#include <linux/blktrace_api.h>
#include <linux/module.h>
#define CREATE_TRACE_POINTS
#include <trace/events/dbcache.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_request_start);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_request_end);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_bypass_sequential);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_bypass_congested);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_read);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_write);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_read_retry);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_cache_insert);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_journal_replay_key);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_journal_write);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_journal_full);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_journal_entry_full);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_cache_cannibalize);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_read);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_write);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_node_alloc);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_node_alloc_fail);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_node_free);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_gc_coalesce);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_gc_start);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_gc_end);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_gc_copy);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_gc_copy_collision);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_insert_key);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_node_split);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_node_compact);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_btree_set_root);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_invalidate);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_alloc_fail);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_writeback);
EXPORT_TRACEPOINT_SYMBOL_GPL(dbcache_writeback_collision);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tanshikai/dbcache-openeuler20.03.git
git@gitee.com:tanshikai/dbcache-openeuler20.03.git
tanshikai
dbcache-openeuler20.03
dbcache-openeuler20.03
master

搜索帮助