Add env option MOZ_PROFILER_SYMBOLICATE to pre-symbolicate at runtime
Categories
(Core :: Gecko Profiler, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
In some situations it would be useful to just get a pre-symbolicated profile output, for quick testing.
Hopefully this will become moot when we can symbolicate after the fact, but in the meantime I think it will be a small but useful feature. (Especially for selfish me, who wants to see some quick results while working on the non-libxul profiler!)
Note that this will be an option set in an environment variable, so it won't impact "normal" users -- apart from an initial check of that env-var.
Assignee | ||
Comment 1•6 years ago
|
||
As per the help message, this can create significant pauses and prevents
future (better) symbolication, but it can be useful to developers for local
tests.
Assignee | ||
Comment 2•6 years ago
|
||
Also note that this is using mozilla/StackWalk.cpp's MozDescribeCodeAddress()
, which doesn't seem to be able to symbolicate Firefox on Linux, so don't expect miracles! It works fine on Windows though.
Comment 4•6 years ago
|
||
bugherder |
Description
•