Markus Stange
Markus Stange
Yeah I'm pretty sure the "category" field was completely ad-hoc. I think these tracing markers can all be identified by their name and the "category" is not worth preserving.
Yeah, those `"Paint"` category strings are from the very first addition of tracing markers, in [bug 918825](https://bugzilla.mozilla.org/show_bug.cgi?id=918825).
I've proposed an alternative way forward in #5275.
Jeff will remove the last Gecko-side remnants in [bug 1997947](https://bugzilla.mozilla.org/show_bug.cgi?id=1997947) . There's nothing left to do on the front-end side.
Yes indeed, sharing the computed call node table across threads while properly handling per thread transforms is the next thing I want to work on when I get back to...
The part that's specific to Android / Linux is the use of `startTimeAsClockMonotonicNanosecondsSinceBoot` to align the timestamps in the two profiles. Also, the markers from the "samples" profile are discarded....
For obtaining line information from PDB files, https://github.com/mstange/pdb-addr2line might come in handy.
They only need distinct frames if they have different categories. Reusing frames which are actually the same (including category) across stacks is very desirable!