Closed Bug 849334 Opened 11 years ago Closed 10 years ago

Uplift profiler changes to b2g18

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
b2g18 - ---

People

(Reporter: gwagner, Unassigned)

Details

Attachments

(1 file)

Some profiler enhancements are only available on trunk. My impression is that we might need the b2g18 branch for a little longer. We need the best tools for performance work/profiling and should uplift relevant patches.
BenWa suggested uplifting tools/profiler/*
The profiler is disabled for B2G builds and only available with a compile flag.
BenWa, is there any risk involved with uplifting?
tracking-b2g18: --- → ?
(In reply to Gregor Wagner [:gwagner] from comment #0)
> The profiler is disabled for B2G builds and only available with a compile
> flag.

I haven't seen that. It not active by default but always compile on other Tier-1 platform.

> BenWa, is there any risk involved with uplifting?

No there isn't until we merge the new breakpad unwinding changes from bug 779291 which we cannot uplift without a considerable effort. But there's no rush since we can just uplift the revision before that change lands.
Attached patch patchSplinter Review
Ok it's not that easy :(
So this patch doesn't compile when the profiler is disabled but it works fine for b2g18 builds when the profiler is enabled.
When you have something that will not break builds, please nominate for uplift approval :)
(In reply to Gregor Wagner [:gwagner] from comment #4)
> So this patch doesn't compile when the profiler is disabled but it works
> fine for b2g18 builds when the profiler is enabled.

Whats the compile error?
(In reply to Benoit Girard (:BenWa) from comment #6)
> (In reply to Gregor Wagner [:gwagner] from comment #4)
> > So this patch doesn't compile when the profiler is disabled but it works
> > fine for b2g18 builds when the profiler is enabled.
> 
> Whats the compile error?

Yeah I should have posted them right away!

nsNativeThemeCocoa.mm
/Volumes/mac/moz/b2g18/widget/cocoa/nsAppShell.mm:227:3: error: unexpected '@'
      in program
  NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
  ^
../../dist/include/nsObjCExceptions.h:180:39: note: expanded from macro
      'NS_OBJC_BEGIN_TRY_ABORT_BLOCK'
#define NS_OBJC_BEGIN_TRY_ABORT_BLOCK @try {
                                      ^
/Volumes/mac/moz/b2g18/widget/cocoa/nsAppShell.mm:258:3: error: unexpected '@'
      in program
  NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT;
  ^
../../dist/include/nsObjCExceptions.h:201:48: note: expanded from macro
      'NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT'
#define NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NSRESULT @try {
                                               ^
/Volumes/mac/moz/b2g18/widget/cocoa/nsAppShell.mm:369:3: error: unexpected '@'
Given bug 875164, this is wontfix.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: