trace.c 1.8 KB

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