cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

trace.c (1830B)


      1// SPDX-License-Identifier: GPL-2.0
      2#include "bcache.h"
      3#include "btree.h"
      4
      5#include <linux/blktrace_api.h>
      6#include <linux/module.h>
      7
      8#define CREATE_TRACE_POINTS
      9#include <trace/events/bcache.h>
     10
     11EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start);
     12EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end);
     13
     14EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_sequential);
     15EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_bypass_congested);
     16
     17EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read);
     18EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write);
     19EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
     20
     21EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert);
     22
     23EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_replay_key);
     24EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write);
     25EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_full);
     26EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_entry_full);
     27
     28EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_cache_cannibalize);
     29
     30EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
     31EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
     32
     33EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc);
     34EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_alloc_fail);
     35EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_free);
     36
     37EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_gc_coalesce);
     38EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
     39EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);
     40EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy);
     41EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_copy_collision);
     42
     43EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_insert_key);
     44
     45EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_split);
     46EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_node_compact);
     47EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_set_root);
     48
     49EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_invalidate);
     50EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_alloc_fail);
     51
     52EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
     53EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback_collision);