Bug 719239 - Gecko Profiler: Stackwalk feature isn't reported properly. r=ehsan

This commit is contained in:
Benoit Girard 2012-01-18 17:50:30 -05:00
parent 5ac0db14f4
commit fea80077db

View File

@ -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