Closed
Bug 1007145
Opened 10 years ago
Closed 9 years ago
Unhook Breakpad from SPS
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ted, Unassigned)
References
Details
Now that we're using LUL for unwinding, we should make sure we're using it on all platforms and unhook Breakpad from SPS so we can remove the Breakpad integration code and our local Breakpad patches. Julian said he thinks it should be mostly unused except perhaps for native unwinds on OS X.
Comment 1•10 years ago
|
||
Native unwind on OS X use a nsStackWalk manual frame pointer. I did use breakpad unwinds from time to time on fennec but you have to opt onto special options, it's not the default. I think it's safe to just remove today.
Reporter | ||
Comment 2•10 years ago
|
||
I started looking into this in order to get back in sync with upstream Breakpad, but I don't understand all the intricacies of the profiler code. If someone could either point me in the right direction or write the patch I would appreciate it.
Comment 3•10 years ago
|
||
My understanding is that the breakpad code in the profiler is never used by default. Julian as switch to a custom unwinder called LuL (which we were supposed to start using on Linux but I believe we haven't yet?).
Confirm with Julian but I expect the answer is you can probably just remove the callsite to breakpad functions from the profiler code, just make sure we still compile. The code should be off by default.
Reporter | ||
Comment 4•10 years ago
|
||
I tried hacking things out but either I removed too much or I don't know what to remove because I wound up with a bunch of linker errors. (Linux, 64-bit)
Comment 5•10 years ago
|
||
Ted, do you have a w-i-p patch I can poke at?
Reporter | ||
Comment 6•10 years ago
|
||
Yes, if you apply:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/mq/raw-file/92c834451c57/drop-breakpad-patches
http://hg.mozilla.org/users/tmielczarek_mozilla.com/mq/raw-file/92c834451c57/breakpad-stock-fixup
you'll see where I wound up. My parent changeset is a little out of date, I have these on top of c850f3af9f2c.
Reporter | ||
Comment 7•9 years ago
|
||
AFAICT this got mostly fixed along the way, and what little is left I can deal with in bug 1069556.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•