Allow capturing real-time traces in the Firefox Profiler
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: padenot, Assigned: padenot)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(14 external files, 2 obsolete files)
Multiple steps for this:
- Generalize the mpsc queue to have arbitrary data instead of just strings
- Allow to have multiple backends for the macros: MOZ_LOG or profiler markers
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
You can already put all log messages into profiles with "profilermarkers" in MOZ_LOG
| Assignee | ||
Comment 3•6 years ago
|
||
Yes, this can't be used for us, the marker API is too slow/not deterministic enough, so we need to use our custom code that does the minimum work possible, put that in a queue, bounce to another thread, and then use the marker API.
| Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
Depends on D78496
| Assignee | ||
Comment 6•6 years ago
|
||
The allocation still needs to be a power of two so the ergonomics are not
amazing, but this will do until we replace with a buffer-based MPSC ringbuffer.
Depends on D78498
| Assignee | ||
Comment 7•6 years ago
|
||
Depends on D78499
| Assignee | ||
Comment 8•6 years ago
|
||
Depends on D78501
| Assignee | ||
Comment 9•6 years ago
|
||
Depends on D78503
| Assignee | ||
Comment 10•6 years ago
|
||
Depends on D78504
| Assignee | ||
Comment 11•6 years ago
|
||
The profile now handles this.
Depends on D78505
| Assignee | ||
Comment 12•6 years ago
|
||
Depends on D78506
| Assignee | ||
Comment 13•6 years ago
|
||
Depends on D78507
| Assignee | ||
Comment 14•6 years ago
|
||
Depends on D78508
| Assignee | ||
Comment 15•6 years ago
|
||
Depends on D78509
Updated•6 years ago
|
| Assignee | ||
Comment 16•6 years ago
|
||
Depends on D78510
Updated•6 years ago
|
Comment 17•6 years ago
|
||
| Assignee | ||
Comment 18•6 years ago
|
||
This is tracked in bug 1645416.
Comment 19•6 years ago
|
||
| Assignee | ||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9a8a328a2482
https://hg.mozilla.org/mozilla-central/rev/f42379fcffdc
https://hg.mozilla.org/mozilla-central/rev/c58446c7468a
https://hg.mozilla.org/mozilla-central/rev/fca3a809b805
https://hg.mozilla.org/mozilla-central/rev/32bc0f2b3a22
https://hg.mozilla.org/mozilla-central/rev/68e0a73427bf
https://hg.mozilla.org/mozilla-central/rev/6ffb58f1abad
https://hg.mozilla.org/mozilla-central/rev/48f24a4445a1
https://hg.mozilla.org/mozilla-central/rev/9f3bca4dedde
https://hg.mozilla.org/mozilla-central/rev/c2f99008a2a0
https://hg.mozilla.org/mozilla-central/rev/b12a18558d42
https://hg.mozilla.org/mozilla-central/rev/bd39e75bf891
https://hg.mozilla.org/mozilla-central/rev/e88ca3b28a60
https://hg.mozilla.org/mozilla-central/rev/066838d09929
Updated•6 years ago
|
Updated•5 years ago
|
Description
•