summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/book3s64/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/book3s64/trace.c')
-rw-r--r--arch/powerpc/mm/book3s64/trace.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/mm/book3s64/trace.c b/arch/powerpc/mm/book3s64/trace.c
new file mode 100644
index 000000000000..b86e7b906257
--- /dev/null
+++ b/arch/powerpc/mm/book3s64/trace.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * This file is for defining trace points and trace related helpers.
+ */
+#ifdef CONFIG_TRANSPARENT_HUGEPAGE
+#define CREATE_TRACE_POINTS
+#include <trace/events/thp.h>
+#endif