Linux profiles don't have symbols anymore on recent nightly
Categories
(Core :: Gecko Profiler, defect, P2)
Tracking
()
People
(Reporter: lsalzman, Unassigned)
References
(Blocks 2 open bugs)
Details
After building a recent nightly, I noticed that profiles on Linux no longer have symbols, just raw addresses. This makes it unfortunately difficult to profile, identify, and debug WebRender performance issues right now.
I was previously using the workaround for an issue identified in bug 1615066 related to heap size, but this seems to have no effect anymore. I have tried doing clobber builds, both with the workaround, and without it, cleaning out my mozconfig, etc. and nothing has restored symbols.
I don't know enough about symbolication to help.
One semi-hidden trick to try: MOZ_PROFILER_SYMBOLICATE=1 ./mach run
, but it is also hit&miss.
And a tortuous work-around would be to build on Try, with the build-linux-shippable/opt-upload-symbols task, download the binary and run it!
Or run an official Nightly.
(Not good for experimentation of course.)
cc: Florian, do you have some experience/suggestions?
Julien?
Markus would probably know best, but he's very busy elsewhere at the moment.
Comment 2•4 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #0)
I was previously using the workaround for an issue identified in bug 1615066 related to heap size, but this seems to have no effect anymore. I have tried doing clobber builds, both with the workaround, and without it, cleaning out my mozconfig, etc. and nothing has restored symbols.
From the conversation on Matrix, it still seems to be bug 1615066. The workaround that no longer works is export LDFLAGS=-Wl,--compress-debug-sections=zlib
in the mozconfig, but using llvm-strip
still worked.
Comment 3•4 years ago
|
||
Also the user tried enabling the extra memory for wasm (2GB -> 8GB) but that wasn't enough.
Updated•4 years ago
|
Comment 4•3 years ago
|
||
This should now work by default, without stripping or compressing debug data. Lee, can you confirm if it works for you?
Reporter | ||
Comment 5•3 years ago
|
||
Seems to work so far if I remove the compression hack.
Description
•