aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/trace.c
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-03-23 19:11:31 -0400
committerKent Overstreet <koverstreet@google.com>2013-03-23 19:11:31 -0400
commitcafe563591446cf80bfbc2fe3bc72a2e36cf1060 (patch)
treec8ae27b13dcdb0219634376ca5e667df32b1173a /drivers/md/bcache/trace.c
parentea6749c705d9e629ed03c7336cc929fc6014b834 (diff)
bcache: A block layer cache
Does writethrough and writeback caching, handles unclean shutdown, and has a bunch of other nifty features motivated by real world usage. See the wiki at http://bcache.evilpiepirate.org for more. Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/trace.c')
-rw-r--r--drivers/md/bcache/trace.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/md/bcache/trace.c b/drivers/md/bcache/trace.c
new file mode 100644
index 000000000000..983f9bb411bc
--- /dev/null
+++ b/drivers/md/bcache/trace.c
@@ -0,0 +1,26 @@
1#include "bcache.h"
2#include "btree.h"
3#include "request.h"
4
5#include <linux/module.h>
6
7#define CREATE_TRACE_POINTS
8#include <trace/events/bcache.h>
9
10EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_start);
11EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_request_end);
12EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_passthrough);
13EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_hit);
14EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_miss);
15EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_retry);
16EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writethrough);
17EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_writeback);
18EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write_skip);
19EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_read);
20EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_btree_write);
21EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_write_dirty);
22EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_read_dirty);
23EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_journal_write);
24EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_cache_insert);
25EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_start);
26EXPORT_TRACEPOINT_SYMBOL_GPL(bcache_gc_end);