Investigate ways to redirect BASE_PROFILER_MARKER_* markers to Gecko Profiler buffer after it starts
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox99 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
If someone uses a BASE_PROFILER_MARKER_* function, the marker is just lost when only the Gecko Profiler is running.
It would be good to use the Gecko Profiler buffer in that case.
I'm thinking that base_profiler_marker_detail::CachedBaseCoreBuffer() could provide the Gecko Profiler buffer once it's alive.
Comment 1•4 years ago
|
||
This would be very nice for the markers I added in bug 1524625!
Comment 2•4 years ago
|
||
This would have been very helpful in figuring out faster what was happening in the profile of bug 1747980. I could see quickly that DLLs were being injected, but I could only find the name of the DLL in label frames that weren't as easy to find.
| Assignee | ||
Comment 3•3 years ago
|
||
I've managed to get going on bug 1753192, which makes this bug here fairly simple to achieve.
Here's an example from an early prototype, showing "DllLoad" base markers during the whole profiling session: https://share.firefox.dev/34fDi1U
| Assignee | ||
Comment 4•3 years ago
|
||
This adds tests about what's already happening with current Base and Gecko Profiler markers.
Depends on D137805
| Assignee | ||
Comment 5•3 years ago
|
||
Depends on D137808
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7a041d78df6f
https://hg.mozilla.org/mozilla-central/rev/d3ade0cdc753
Updated•3 years ago
|
Description
•