summaryrefslogtreecommitdiffstats
path: root/sys/cddl/dev/profile/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cddl/dev/profile/profile.c')
-rw-r--r--sys/cddl/dev/profile/profile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/cddl/dev/profile/profile.c b/sys/cddl/dev/profile/profile.c
index ea52e2e..44dea7b 100644
--- a/sys/cddl/dev/profile/profile.c
+++ b/sys/cddl/dev/profile/profile.c
@@ -112,6 +112,13 @@
#endif
#endif
+#ifdef __mips
+/*
+ * This value is bogus just to make module compilable on mips
+ */
+#define PROF_ARTIFICIAL_FRAMES 3
+#endif
+
typedef struct profile_probe {
char prof_name[PROF_NAMELEN];
dtrace_id_t prof_id;
OpenPOWER on IntegriCloud