mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1024063 - Make the 'threads' feature implicit if thread filter is specific. r=ehsan
This commit is contained in:
parent
81fe3788ce
commit
1581637a61
@ -65,7 +65,9 @@ class TableTicker: public Sampler {
|
||||
mProfileJS = hasFeature(aFeatures, aFeatureCount, "js");
|
||||
mProfileJava = hasFeature(aFeatures, aFeatureCount, "java");
|
||||
mProfilePower = hasFeature(aFeatures, aFeatureCount, "power");
|
||||
mProfileThreads = hasFeature(aFeatures, aFeatureCount, "threads");
|
||||
// Users sometimes ask to filter by a list of threads but forget to request
|
||||
// profiling non main threads. Let's make it implificit if we have a filter
|
||||
mProfileThreads = hasFeature(aFeatures, aFeatureCount, "threads") || aFilterCount > 0;
|
||||
mUnwinderThread = hasFeature(aFeatures, aFeatureCount, "unwinder") || sps_version2();
|
||||
mAddLeafAddresses = hasFeature(aFeatures, aFeatureCount, "leaf");
|
||||
mPrivacyMode = hasFeature(aFeatures, aFeatureCount, "privacy");
|
||||
|
Loading…
Reference in New Issue
Block a user