Changeset: 5b3f4fa3dda2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5b3f4fa3dda2
Modified Files:
        monetdb5/mal/mal_profiler.c
Branch: default
Log Message:

Revert event layout to satisfy eventparser in stethoscope.


diffs (20 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -34,9 +34,13 @@
 static str myname = 0; // avoid tracing the profiler module
 
 /* The JSON rendering can be either using '\n' separators between
- * each key:value pair or as a single line */
-//#define PRETTIFY     "\n"
-#define PRETTIFY
+ * each key:value pair or as a single line.
+ * The current stethoscope implementation requires the first option and
+ * also the term rendering PRET to be set to ''
+ */
+
+#define PRETTIFY       "\n"
+//#define PRETTIFY
 
 /* When the MAL block contains a BARRIER block we may end up with tons
  * of profiler events. To avoid this, we stop emitting the events
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to