Closed
Bug 853896
Opened 12 years ago
Closed 12 years ago
Turn off MOZ_EVENT_TRACE when profiling
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: BenWa, Assigned: BenWa)
Details
Attachments
(1 file, 1 obsolete file)
6.47 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #728260 -
Flags: review?(ted)
Comment 1•12 years ago
|
||
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 | ||
Updated•12 years ago
|
Assignee: nobody → bgirard
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #728260 -
Attachment is obsolete: true
Attachment #730153 -
Flags: review+
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•