From 44241052a1db7a2a6145cbdd84e29548e9296abb Mon Sep 17 00:00:00 2001 From: Benoit Girard Date: Wed, 18 Jan 2012 17:50:30 -0500 Subject: [PATCH] Bug 719239 - Gecko Profiler: Stackwalk feature isn't reported properly. r=ehsan --- tools/profiler/sps/TableTicker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/sps/TableTicker.cpp b/tools/profiler/sps/TableTicker.cpp index c12880d9b5b..1c701d7b7ee 100644 --- a/tools/profiler/sps/TableTicker.cpp +++ b/tools/profiler/sps/TableTicker.cpp @@ -592,7 +592,7 @@ char* mozilla_sampler_get_profile() const char** mozilla_sampler_get_features() { static const char* features[] = { -#if defined(MOZ_PROFILING) && defined(USE_BACKTRACE) +#if defined(MOZ_PROFILING) && (defined(USE_BACKTRACE) || defined(USE_NS_STACKWALK)) "stackwalk", #endif NULL