Closed
Bug 1103094
Opened 11 years ago
Closed 10 years ago
Start profiling subprocesses if the parent process is already profiling
Categories
(Core :: Gecko Profiler, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 5 obsolete files)
When subprocesses are started, they should start profiling if the parent process is already profiling.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mconley
| Assignee | ||
Comment 1•10 years ago
|
||
Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r?BenWa
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8645982 [details]
MozReview Request: Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r?BenWa
Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r?BenWa
| Assignee | ||
Comment 3•10 years ago
|
||
Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r?BenWa
| Assignee | ||
Comment 4•10 years ago
|
||
Bug 1193838 - Make ProfileGatherer exist during the lifetime of a GeckoSampler. r?BenWa
| Assignee | ||
Comment 5•10 years ago
|
||
Bug 1193838 - Expose ProfileGatherer as an nsISupports through nsIProfiler for process parent actors. r?BenWa
We need to let ContentParent and PluginModuleParent get a reference to the ProfileGatherer
during the window of time that we're profiling so that if they start to die (the actor is
starting to go away), they have a gatherer they can send their last profile data to.
| Assignee | ||
Comment 6•10 years ago
|
||
Bug 1193838 - Allow ProfileGatherer to gather profiles from exiting processes. r?BenWa
| Assignee | ||
Comment 7•10 years ago
|
||
Add some instrumentation and logging
| Assignee | ||
Comment 8•10 years ago
|
||
Make talos use async profile dumping stuff
Comment 9•10 years ago
|
||
we have a patch for review, but no action in the last 4+ weeks, :mconley, what is the next step here?
Flags: needinfo?(mconley)
| Assignee | ||
Comment 10•10 years ago
|
||
The goal to work on this got pushed off to this quarter, so I should hopefully be able to drive this through in the next week or so.
Flags: needinfo?(mconley)
Updated•10 years ago
|
Priority: -- → P3
| Assignee | ||
Updated•10 years ago
|
Attachment #8645982 -
Flags: review?(bgirard)
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8645982 [details]
MozReview Request: Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r?BenWa
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/15569/diff/2-3/
| Assignee | ||
Updated•10 years ago
|
Attachment #8669886 -
Flags: review?(bgirard)
| Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8669886 [details]
MozReview Request: Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r?BenWa
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/21279/diff/1-2/
| Assignee | ||
Updated•10 years ago
|
Attachment #8669887 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8669888 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8669889 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8669890 -
Attachment is obsolete: true
| Assignee | ||
Updated•10 years ago
|
Attachment #8669891 -
Attachment is obsolete: true
| Assignee | ||
Comment 13•10 years ago
|
||
Sorry it's kinda taken me forever to get back to this[1]. Also, BenWa, if you know of some other way I can do this Vector <-> Array conversion, please let me know. (I seem to recall us using Vectors to be more portable for non-Mozilla things).
Updated•10 years ago
|
Attachment #8645982 -
Flags: review?(bgirard) → review+
Comment 14•10 years ago
|
||
Comment on attachment 8645982 [details]
MozReview Request: Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r?BenWa
https://reviewboard.mozilla.org/r/15569/#review23747
::: tools/profiler/gecko/nsIProfiler.idl:63
(Diff revision 3)
> + readonly attribute nsIProfilerStartParams startParams;
Is it worth describing what happens if the profiling isn't started? Maybe, maybe not? I'll leave that decission up to you.
Looks like we'd hit a NS_WARN if the profiler isn't running and return a trivial 0/0/empty/empty object.
Updated•10 years ago
|
Attachment #8669886 -
Flags: review?(bgirard) → review+
Comment 15•10 years ago
|
||
Comment on attachment 8669886 [details]
MozReview Request: Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r?BenWa
https://reviewboard.mozilla.org/r/21279/#review23749
Love it, cleans up the code too!
| Assignee | ||
Comment 16•10 years ago
|
||
https://reviewboard.mozilla.org/r/15569/#review23747
> Is it worth describing what happens if the profiling isn't started? Maybe, maybe not? I'll leave that decission up to you.
>
> Looks like we'd hit a NS_WARN if the profiler isn't running and return a trivial 0/0/empty/empty object.
Even better - I'll just return set the incoming outparam to nullptr in that case. Thanks!
| Assignee | ||
Comment 17•10 years ago
|
||
| Assignee | ||
Comment 18•10 years ago
|
||
| Assignee | ||
Comment 19•10 years ago
|
||
| Assignee | ||
Comment 20•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd8dc51c5a5c7fa98101cc2e1486177a36739968
Bug 1103094 - Add accessor for nsIProfilerStartParams to nsIProfiler. r=BenWa
https://hg.mozilla.org/integration/mozilla-inbound/rev/f04beafaf860912b22022d0b787134646cf9c3f1
Bug 1103094 - Start profiling subprocesses if the parent process is already profiling. r=BenWa
Comment 21•10 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fd8dc51c5a5c
https://hg.mozilla.org/mozilla-central/rev/f04beafaf860
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
| Assignee | ||
Comment 22•9 years ago
|
||
| bugnotes | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•