Closed
Bug 916041
Opened 11 years ago
Closed 11 years ago
Add support for absolute-timestamped markers
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mikeh, Assigned: mikeh)
References
Details
Attachments
(2 files, 2 obsolete files)
5.37 KB,
patch
|
Details | Diff | Splinter Review | |
4.02 KB,
patch
|
Details | Diff | Splinter Review |
This allows b2g devs to sync up profile reports from different processes.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #804341 -
Flags: feedback?(bgirard)
Assignee | ||
Comment 2•11 years ago
|
||
(The patch needs to be cleaned up--there's some junk in there--just looking for feedback on the idea.)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mhabicher
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #804341 -
Attachment is obsolete: true
Attachment #804341 -
Flags: feedback?(bgirard)
Attachment #804359 -
Flags: feedback?(bgirard)
Comment 4•11 years ago
|
||
I'm currently working on a better way to do this in bug 914654. The merging magic happens in bug 915857 and I have another piece that I haven't posted yet to modify profile.sh to automate the merging. I think it should cover your use case better so let me know.
See the profile for a sample. Note that the histogram sync up. The processes/threads will be selectable via profile.sh:
http://people.mozilla.org/~bgirard/cleopatra/#report=65cfe559f92bf66da8aee49d147b2dfc26f29e40
Assignee | ||
Comment 5•11 years ago
|
||
Your solution is much more elegant than mine--I eagerly await it's landing.
Assignee | ||
Comment 6•11 years ago
|
||
*its landing (sigh)
Comment 7•11 years ago
|
||
I wouldn't block on that. Apply the patch from 914658 and remove the ifdef GONK in mozilla_sampler_(un)register_thread.
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 8•11 years ago
|
||
May as well keep this here, in case it comes in handy.
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #806206 -
Attachment is obsolete: true
Comment 10•11 years ago
|
||
Now you only have to remove the stuff in mozilla_sampler_(un)register_thread. Is this sufficient for you?
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #10)
>
> Now you only have to remove the stuff in
> mozilla_sampler_(un)register_thread. Is this sufficient for you?
It should be. I'll switch to doing that once I'm done the tests I need to get done. Once I've pulled the profile logs, how do I merge them?
Updated•11 years ago
|
Attachment #804359 -
Flags: feedback?(bgirard)
Comment 12•11 years ago
|
||
When doing |profile.sh capture| if multiple processes are being profiled it will pull all profiles + generate a merged and synced up profile. Right now there's a small bug that require the main b2g process to be profiled for profile.sh capture to work but it's just a tiny bash logic bug that needs to be fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•