Closed Bug 853896 Opened 12 years ago Closed 12 years ago

Turn off MOZ_EVENT_TRACE when profiling

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: BenWa, Assigned: BenWa)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
No description provided.
Attachment #728260 - Flags: review?(ted)
Comment on attachment 728260 [details] [diff] [review] patch Review of attachment 728260 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/EventTracer.cpp @@ +182,5 @@ > if (!InitWidgetTracing()) > return false; > > + TracerStartClosure* args = new TracerStartClosure(); > + args->mLogTracing = aLog; Comment here that the tracer thread owns the object and will delete it. ::: toolkit/xre/EventTracer.h @@ +9,5 @@ > > // Create a thread that will fire events back at the > // main thread to measure responsiveness. Return true > // if the thread was created successfully. > +bool InitEventTracing(bool aLog); Update the comment here to mention the argument.
Attachment #728260 - Flags: review?(ted) → review+
Assignee: nobody → bgirard
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Blocks: 1866284
No longer blocks: 1866284
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: