Closed Bug 916041 Opened 11 years ago Closed 11 years ago

Add support for absolute-timestamped markers

Categories

(Core :: Gecko Profiler, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mikeh, Assigned: mikeh)

References

Details

Attachments

(2 files, 2 obsolete files)

This allows b2g devs to sync up profile reports from different processes.
(The patch needs to be cleaned up--there's some junk in there--just looking for feedback on the idea.)
Assignee: nobody → mhabicher
Status: NEW → ASSIGNED
Attachment #804341 - Attachment is obsolete: true
Attachment #804341 - Flags: feedback?(bgirard)
Attachment #804359 - Flags: feedback?(bgirard)
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
Your solution is much more elegant than mine--I eagerly await it's landing.
*its landing (sigh)
I wouldn't block on that. Apply the patch from 914658 and remove the ifdef GONK in mozilla_sampler_(un)register_thread.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
May as well keep this here, in case it comes in handy.
Now you only have to remove the stuff in mozilla_sampler_(un)register_thread. Is this sufficient for you?
(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?
Attachment #804359 - Flags: feedback?(bgirard)
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.

Attachment

General

Created:
Updated:
Size: