[commit: ghc] wip/libdw-prof: fixup! Add infrastructure for a simple statistical profiler (04df437)
git at git.haskell.org
git at git.haskell.org
Sun May 7 00:00:49 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/libdw-prof
Link : http://ghc.haskell.org/trac/ghc/changeset/04df437bd3f0559062e52632e114c919d8b22216/ghc
>---------------------------------------------------------------
commit 04df437bd3f0559062e52632e114c919d8b22216
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sat May 6 19:42:48 2017 -0400
fixup! Add infrastructure for a simple statistical profiler
>---------------------------------------------------------------
04df437bd3f0559062e52632e114c919d8b22216
includes/rts/Config.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/includes/rts/Config.h b/includes/rts/Config.h
index 52aa95f..10719bd 100644
--- a/includes/rts/Config.h
+++ b/includes/rts/Config.h
@@ -38,6 +38,11 @@
#endif
#endif
+/* Statistical profiler: implied by TRACING for the time being */
+#if defined(TRACING)
+#define STAT_PROFILE
+#endif
+
#if defined(STAT_PROFILE)
#define STAT_PROFILE_HEAP_SAMPLE_BUFFER_SIZE 4096
#define STAT_PROFILE_BLACKHOLE_SAMPLE_BUFFER_SIZE 4096
More information about the ghc-commits
mailing list