summaryrefslogtreecommitdiffstats
path: root/include/sys/trace_dbgmsg.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-01-24 08:50:15 -0800
committerGitHub <[email protected]>2017-01-24 08:50:15 -0800
commite82dbae1ee33170ed3924c5229db651caf384333 (patch)
tree1f4b00879d9300ebffae6cae1dc861e50ca13737 /include/sys/trace_dbgmsg.h
parente85d62faaea9871293c1c26675ee665ebe3733e4 (diff)
Fix build-it compilation regression
Accidentally introduced by 4ea3f86. The BEGIN CSTYLE block cannot appear half way through a continued #define. Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #5643 Closes #5644
Diffstat (limited to 'include/sys/trace_dbgmsg.h')
-rw-r--r--include/sys/trace_dbgmsg.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/sys/trace_dbgmsg.h b/include/sys/trace_dbgmsg.h
index 27abe703f..08d96c59c 100644
--- a/include/sys/trace_dbgmsg.h
+++ b/include/sys/trace_dbgmsg.h
@@ -68,8 +68,8 @@ DECLARE_EVENT_CLASS(zfs_dprintf_class,
);
/* END CSTYLED */
-#define DEFINE_DPRINTF_EVENT(name) \
/* BEGIN CSTYLED */
+#define DEFINE_DPRINTF_EVENT(name) \
DEFINE_EVENT(zfs_dprintf_class, name, \
TP_PROTO(const char *file, const char *function, int line, \
const char *msg), \
@@ -109,22 +109,20 @@ DECLARE_EVENT_CLASS(zfs_set_error_class,
);
/* END CSTYLED */
+/* BEGIN CSTYLED */
#ifdef TP_CONDITION
#define DEFINE_SET_ERROR_EVENT(name) \
-/* BEGIN CSTYLED */
DEFINE_EVENT_CONDITION(zfs_set_error_class, name, \
TP_PROTO(const char *file, const char *function, int line, \
uintptr_t error), \
TP_ARGS(file, function, line, error), \
TP_CONDITION(error))
-/* END CSTYLED */
#else
#define DEFINE_SET_ERROR_EVENT(name) \
-/* BEGIN CSTYLED */
DEFINE_EVENT(zfs_set_error_class, name, \
TP_PROTO(const char *file, const char *function, int line, \
uintptr_t error), \
TP_ARGS(file, function, line, error))
-/* END CSTYLED */
#endif
+/* END CSTYLED */
DEFINE_SET_ERROR_EVENT(zfs_set__error);