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)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox59 --- wontfix
firefox60 --- fixed

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: nobody → mstange
Status: NEW → ASSIGNED
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+
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
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: