Make Gecko Profiler controls also control Base Profiler
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
Currently the Base Profiler is controlled separately from the Gecko Profiler: Separate command-line env-vars (MOZ_BASE_PROFILER_...
), and no popup interaction.
Gecko Profiler controls should now work on the Base Profiler as well:
MOZ_PROFILER_...
should work on the Base Profiler;MOZ_BASE_PROFILER_...
to be removed.- When the Gecko Profiler is started through the popup, new processes should automatically run the Base Profiler on startup.
The goal is for most users to only know about the profiler, and control it; Base and Gecko Profilers should be implementation details that work together behind the scene to provide an integrated profile across more of Firefox than before.
Assignee | ||
Comment 1•5 years ago
|
||
Note to self: I should take this opportunity to add tests that verify that base profiles don't get lost (like in bug 1592887).
Assignee | ||
Comment 2•5 years ago
|
||
This env-vars were not processed because of some needed special processing, and
they were not critical.
But now we want them to be correctly read, to match the Gecko Profiler features.
Depends on D54447
Assignee | ||
Comment 3•5 years ago
|
||
Now both profilers are controlled by the same environment variables, e.g.
"MOZ_PROFILER_STARTUP" to run both profilers at startup.
The only remaining Base Profiler-specific commands are:
- MOZ_BASE_PROFILER_HELP, because the Base Profiler doesn't have the same
capabilities as Gecko, so it may display different available features. - MOZ_BASE_PROFILER_LOGGING, because the Base Profiler doesn't have access to
MOZ_LOG (both the env-var and the C++ macros).
Depends on D54448
Assignee | ||
Comment 4•5 years ago
|
||
I should wait until bug 1599015 is resolved before landing this one.
Comment 5•5 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:gerald, could you have a look please?
For more information, please visit auto_nag documentation.
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5aac83f7f4f Re-enable MOZ_BASE_PROFILER_STARTUP_DURATION and _INTERVAL - r=gregtatum https://hg.mozilla.org/integration/autoland/rev/922243345807 Remove "_BASE" from most Base Profiler env-vars - r=gregtatum
Comment 8•5 years ago
|
||
Backed out 2 changesets (Bug 1586939) for causing perma bc failures in automation.py CLOSED TREE
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=285158083&repo=autoland&lineNumber=2150
Backout by shindli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7541d616ff87 Backed out 2 changesets for causing perma bc failures in automation.py CLOSED TREE
Assignee | ||
Comment 10•5 years ago
|
||
Note to self: Wait for bug 1607574, port it to base profiler here before combining the env-vars.
Comment 11•4 years ago
|
||
Hey Gerald, as it looks like all the dependencies are fixed. I wonder if you can update the patch and land again. Or is there something else which blocks us right now?
Assignee | ||
Comment 12•4 years ago
|
||
I've just finished my big project (bug 1612356), so I can come back to this here soon. (Keeping the NI as reminder.)
Assignee | ||
Comment 14•4 years ago
|
||
This is a port of bugs 1607574, 1617188, 1635823 to the Base Profiler.
Updated•4 years ago
|
Comment 15•4 years ago
|
||
Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e1337767992 Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum https://hg.mozilla.org/integration/autoland/rev/1f66a6a498e5 Remove "_BASE" from most Base Profiler env-vars - r=gregtatum
Comment 16•4 years ago
|
||
Backed out for build bustages.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304066192&repo=autoland&lineNumber=38383
Backout: https://hg.mozilla.org/integration/autoland/rev/5d80811c7ee05a8098b20e00d53fb5a92dbcc643
Assignee | ||
Comment 17•4 years ago
|
||
Discussed with sheriff, this bug was not the problem. They're looking for the real culprit and will reland my patches. 😌
Comment 18•4 years ago
|
||
Pushed by ncsoregi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9a9b36b0ba39 Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum a=reland CLOSED TREE https://hg.mozilla.org/integration/autoland/rev/8f39a30ad224 Remove "_BASE" from most Base Profiler env-vars - r=gregtatum a=reland CLOSED TREE
Comment 19•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9a9b36b0ba39
https://hg.mozilla.org/mozilla-central/rev/8f39a30ad224
Description
•