Bug 1274041 - Actually define JPROF_STATIC as it was meant to be defined. r?jesup draft
authorL. David Baron <dbaron@dbaron.org>
Wed, 18 May 2016 14:06:46 -0700
changeset 368477 eb17152555363e37a96a7d08390f1b392a0b1984
parent 367170 403912ca555eb65f814b18ecf38ad8e8e98569f5
child 368478 7c18786ab97b469df9b1b7bdaf9e09100c907cf2
push id18549
push userdbaron@mozilla.com
push dateWed, 18 May 2016 21:06:58 +0000
reviewersjesup
bugs1274041
milestone49.0a1
Bug 1274041 - Actually define JPROF_STATIC as it was meant to be defined. r?jesup I've had this in my tree for a while; it just fixes what look like a silly mistake. MozReview-Commit-ID: 48ee7PDFTQk
tools/jprof/stub/libmalloc.cpp
--- a/tools/jprof/stub/libmalloc.cpp
+++ b/tools/jprof/stub/libmalloc.cpp
@@ -52,17 +52,17 @@ void moz_xfree(void *mem)
 #include <sys/link.h>
 extern r_debug _r_debug;
 #else
 #include <link.h>
 #endif
 
 #define USE_GLIBC_BACKTRACE 1
 // To debug, use #define JPROF_STATIC
-#define JPROF_STATIC //static
+#define JPROF_STATIC static
 
 static int gLogFD = -1;
 static pthread_t main_thread;
 
 static void startSignalCounter(unsigned long millisec);
 static int enableRTCSignals(bool enable);