Closed Bug 1729815 Opened 4 years ago Closed 3 years ago

Remove unused ProfilerFeature::Threads

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

(Regressed 1 open bug)

Details

Attachments

(2 files)

(Spawned from https://phabricator.services.mozilla.com/D124739#inline-688212 , thanks Florian.)

The help for ProfilerFeature::Threads aka "threads" is "Profile the registered secondary threads". I'm guessing that in the past, only the main thread would be profiled without this explicit feature.
Now this feature is not actually influencing anything anymore! So it should be removed to avoid confusion.

Assignee: nobody → gsquelart
Status: NEW → ASSIGNED
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f90cb649f371 Remove unnecessary profiler feature "threads" - r=julienw,perftest-reviewers,AlexandruIonescu

Backed out for causing mochitest failures on Mutex_posix.cpp

Flags: needinfo?(gsquelart)

Thank you Cristian.
The profiler did not support an empty features list, nor a feature bitset of 0 (zero). I'll fix that and retest...

Flags: needinfo?(gsquelart)

This is necessary, because the next patch will remove the "threads" feature, and some tests only add that one feature so now they will have an empty feature list, equivalent to a feature bitset of 0 (zero).

Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c08a6b6ce85a Allow empty feature list, or bitset=0 - r=julienw https://hg.mozilla.org/integration/autoland/rev/2198098ce797 Remove unnecessary profiler feature "threads" - r=julienw,perftest-reviewers,AlexandruIonescu
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Regressions: 1755559
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: