summaryrefslogtreecommitdiffstats
path: root/include/sys/trace_dbuf.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_dbuf.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_dbuf.h')
-rw-r--r--include/sys/trace_dbuf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/trace_dbuf.h b/include/sys/trace_dbuf.h
index 34bc74e1e..49e35e3dc 100644
--- a/include/sys/trace_dbuf.h
+++ b/include/sys/trace_dbuf.h
@@ -24,6 +24,9 @@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM zfs
+#undef TRACE_SYSTEM_VAR
+#define TRACE_SYSTEM_VAR zfs_dbuf
+
#if !defined(_TRACE_DBUF_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_DBUF_H