Closed
Bug 1431217
Opened 7 years ago
Closed 7 years ago
The parent process shouldn't be marked as shutting down in the profile if it's not shutting down
Categories
(Core :: Gecko Profiler, enhancement)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla60
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
I had a typo in the second patch in bug 1384688: We should be passing false for aIsShuttingDown instead of true when dumping the parent process profile.
This patch is also changing a place where pass a TimeStamp but ignore its value, and makes us use a bool instead.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8943392 [details]
Bug 1431217 - Fix a typo that caused us to treat the parent process as shutting down when dumping the profile.
https://reviewboard.mozilla.org/r/213722/#review220298
Good catch. This is probably something we should uplift, imo.
::: tools/profiler/gecko/nsProfiler.cpp:580
(Diff revision 1)
> TimeStamp thisProcessFirstSampleTime;
>
> // Start building up the JSON result and grab the profile from this process.
> mWriter->Start();
> if (!profiler_stream_json_for_this_process(*mWriter, aSinceTime,
> - /* aIsShuttingDown */ true,
> + /* aIsShuttingDown */ false,
Ooof - sorry I didn't catch that. Thanks!
Attachment #8943392 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 3•7 years ago
|
||
It wasn't you who missed it, that patch was reviewed by njn :)
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/c7e047777011
Fix a typo that caused us to treat the parent process as shutting down when dumping the profile. r=mconley
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•7 years ago
|
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•