Bug 718681 - Correct the preprocessor condition in mozilla_sampler_get_features; r=BenWa
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 17 Jan 2012 11:49:40 -0500
changeset 85899 4a79fefefa28fdb09001ac809ad37b17ada51477
parent 85898 39296dfa2ac689c5d5dc10588e788aa6cc5a9d34
child 85900 efd165428f08c0f5043745105a50875a8de312a9
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs718681
milestone12.0a1
Bug 718681 - Correct the preprocessor condition in mozilla_sampler_get_features; r=BenWa
tools/profiler/sps/TableTicker.cpp
--- a/tools/profiler/sps/TableTicker.cpp
+++ b/tools/profiler/sps/TableTicker.cpp
@@ -587,17 +587,17 @@ char* mozilla_sampler_get_profile()
   char *rtn = (char*)malloc( (profile.Length()+1) * sizeof(char) );
   strcpy(rtn, profile.Buffer());
   return rtn;
 }
 
 const char** mozilla_sampler_get_features()
 {
   static const char* features[] = {
-#ifdef MOZ_PROFILING && USE_BACKTRACE
+#if defined(MOZ_PROFILING) && defined(USE_BACKTRACE)
     "stackwalk",
 #endif
     NULL
   };
 
   return features;
 }