aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/trace_zrlock.h
diff options
context:
space:
mode:
authorFrédéric VANNIÈRE <[email protected]>2015-07-28 14:42:14 +0200
committerBrian Behlendorf <[email protected]>2015-07-29 07:35:06 -0700
commitc1718e9580b9b6222be19c1691d3d7b61e503754 (patch)
tree456bccbc38b83df4ad4dd84251f157cc080440ee /include/sys/trace_zrlock.h
parent1229323d5f82bcb0525b312c80330968cd41466e (diff)
Fix build failure with Linux 4.1 and FTRACE
Signed-off-by: Frédéric VANNIÈRE <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3546
Diffstat (limited to 'include/sys/trace_zrlock.h')
-rw-r--r--include/sys/trace_zrlock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/trace_zrlock.h b/include/sys/trace_zrlock.h
index 8c811c2aa..e1399c468 100644
--- a/include/sys/trace_zrlock.h
+++ b/include/sys/trace_zrlock.h
@@ -24,6 +24,9 @@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM zfs
+#undef TRACE_SYSTEM_VAR
+#define TRACE_SYSTEM_VAR zfs_zrlock
+
#if !defined(_TRACE_ZRLOCK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_ZRLOCK_H