Closed Bug 979947 Opened 11 years ago Closed 11 years ago

Engineering Builds of B2G should enable profiling by default

Categories

(Core :: Gecko Profiler, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED FIXED
1.4 S3 (14mar)

People

(Reporter: mchang, Assigned: mchang)

References

Details

(Keywords: perf, Whiteboard: [c=automation p=1 s= u=])

Attachments

(1 file, 2 obsolete files)

Currently, to get a profiling build, the .userconfig needs MOZ_PROFILING=1. Change it so that if someone is building an engineering build, MOZ_PROFILING is already enabled.
Enables the profiler by default on engineering builds. Shouldn't affect performance unless we're already running the profiler.
Attachment #8386981 - Flags: review?(mwu)
Onto the gonk-misc repo! Thanks for the pointer.
Attachment #8386981 - Attachment is obsolete: true
Attachment #8386981 - Flags: review?(mwu)
Attachment #8387113 - Flags: review?(mwu)
Whiteboard: [c=automation p=2 s= u=] → [c=automation p=1 s= u=]
Another one that just enables profiling. I've never heard of B2G_PROFILING before, but I looked in configure.in. --enable-profiling exports MOZ_PROFILING=1, so we don't need MOZ_PROFILING anywhere. Good eye!
Attachment #8387113 - Attachment is obsolete: true
Attachment #8387113 - Flags: review?(mwu)
Attachment #8387961 - Flags: review?(mwu)
(In reply to Mason Chang [:mchang] from comment #4) > Another one that just enables profiling. I've never heard of B2G_PROFILING > before, but I looked in configure.in. Setting B2G_PROFILING already includes --enable-profiling, see here: https://github.com/mozilla-b2g/gonk-misc/blob/1788b0e3fb119501d34a5df537bd5614d5f16546/default-gecko-config#L49 This is what people have been relying on until now IIRC.
Thanks! Landed in gonk-misc - 266bca6e60dad43e395f38b66edabe8bdc882334
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: