summaryrefslogtreecommitdiff
path: root/include/trace/events/bcache.h
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2014-05-23 22:18:35 +0400
committerKent Overstreet <kmo@daterainc.com>2014-08-05 02:23:03 +0400
commit913dc33fb2720fb5f979011664294137ddd8b13b (patch)
tree2c32d5afad1625a9f39ef0efdc2c1b89be7c8c46 /include/trace/events/bcache.h
parent60ae81eee86dd7a520db8c1e3d702b49fc0418b5 (diff)
downloadlinux-913dc33fb2720fb5f979011664294137ddd8b13b.tar.xz
bcache: fix crash in bcache_btree_node_alloc_fail tracepoint
'b' was NULL. Change-Id: Icac0fd04afa2d23f213d96d51afd53374e6dd0c0
Diffstat (limited to 'include/trace/events/bcache.h')
-rw-r--r--include/trace/events/bcache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/bcache.h b/include/trace/events/bcache.h
index 6778e4135a8e..981acf74b14f 100644
--- a/include/trace/events/bcache.h
+++ b/include/trace/events/bcache.h
@@ -261,9 +261,9 @@ DEFINE_EVENT(btree_node, bcache_btree_node_alloc,
TP_ARGS(b)
);
-DEFINE_EVENT(btree_node, bcache_btree_node_alloc_fail,
- TP_PROTO(struct btree *b),
- TP_ARGS(b)
+DEFINE_EVENT(cache_set, bcache_btree_node_alloc_fail,
+ TP_PROTO(struct cache_set *c),
+ TP_ARGS(c)
);
DEFINE_EVENT(btree_node, bcache_btree_node_free,