Merge local and remote objdir prefs
Categories
(DevTools :: Performance Tools (Profiler/Timeline), enhancement)
Tracking
(firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(1 file)
If you use about:debugging to profile a Firefox for Android build which you compiled locally, you need to have your objdir in the objdir list so that you get correct symbols.
However, we currently have two places where objdirs can be added:
- For local profiling, on
about:profiling
. - For remote profiling, if you follow the Settings link in
about:debugging
's profiling panel.
The two lists are stored in different about:config preferences: devtools.performance.recording.objdirs
and devtools.performance.recording.objdirs.remote
.
This makes it a little too easy to use the wrong list. Users may not realize that the two lists are stored separately, and may go to about:profiling, add their Android build objdir, and then get disappointed by bad symbols.
Furthermore, you almost never need to specify objdirs for local profiling. (The only scenario I'm aware of is when you use ./mach package
on a macOS or Linux build, extract the build from the package again, and then profile it. ./mach package
strips symbols.)
I propose that we merge the two settings into one. Adding your android objdir on about:profiling should be enough to get working symbols for remote profiling.
Assignee | ||
Comment 1•4 years ago
|
||
Comment 3•4 years ago
|
||
bugherder |
Description
•