Profiles with re-used thread ids are confusing
Categories
(Core :: Gecko Profiler, defect, P2)
Tracking
()
People
(Reporter: florian, Unassigned)
Details
This long profile has several strange looking tracks: https://share.firefox.dev/3FzJvUG
This track has 3 different thread names: https://share.firefox.dev/38emeM5 (visible in the "Thread CPU Use" markers).
I think the explanation is that the tids have been re-used by the OS.
From Markus: Windows does reuse pids and tids. I think the tid reuse probably needs to be addressed on the platform side and the pid reuse on the front-end side or maybe by having the platform put a different value into the pid field, e.g. "1234.1"
There's also this front-end issue about re-used pids: https://github.com/firefox-devtools/profiler/issues/3351
Gerald's reply: agreed that the backend should handle it correctly and maybe massage the data to make it easier to display as separate tracks
Description
•