Kent Overstreet c37511b863 bcache: Fix/revamp tracepoints
The tracepoints were reworked to be more sensible, and fixed a null
pointer deref in one of the tracepoints.

Converted some of the pr_debug()s to tracepoints - this is partly a
performance optimization; it used to be that with DEBUG or
CONFIG_DYNAMIC_DEBUG pr_debug() was an empty macro; but at some point it
was changed to an empty inline function.

Some of the pr_debug() statements had rather expensive function calls as
part of the arguments, so this code was getting run unnecessarily even
on non debug kernels - in some fast paths, too.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
2013-06-26 17:09:15 -07:00
..
2013-06-26 17:09:15 -07:00
2013-04-24 11:42:41 +10:00
2013-03-01 22:45:51 +00:00
2013-03-01 22:45:51 +00:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2013-05-10 14:37:21 +01:00
2012-07-30 17:25:16 -07:00
2013-05-10 14:37:16 +01:00
2013-05-10 14:37:16 +01:00
2007-10-20 02:01:26 +01:00
2013-03-01 22:45:47 +00:00
2012-12-21 20:23:38 +00:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-06-13 10:13:29 -07:00
2013-04-24 11:42:43 +10:00
2013-06-13 10:13:29 -07:00
2013-06-13 10:13:29 -07:00
2013-06-13 10:13:29 -07:00