profiler_pause doesn't pause the android sampler
Categories
(Core :: Gecko Profiler, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: canova, Assigned: canova)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
We are pausing the profiler before capturing it. But currently our profiler_pause
function doesn't pause the java sampler as well, and that usually makes profile data to be polluted with more java samples compared to native ones. We are only pausing it just before the java serialization. We should teach profiler_pause
about the android sampler.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Here's a profile with the very late java sampling pause: https://share.firefox.dev/3coZpRD
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D78036
Assignee | ||
Comment 4•4 years ago
|
||
Now we are pausing the profiler just before capturing the profile data. Android
sampler will never be running when this code is being run
Depends on D78037
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9d25fef91ab1 Pause the profiler before capturing a profile with remote profiling. r=gregtatum https://hg.mozilla.org/integration/autoland/rev/080cd03c38fd Make the profiler_{pause,resume} control android sampler as well. r=gerald https://hg.mozilla.org/integration/autoland/rev/06661f12888f Remove the unneeded java sampler pause/unpause during the serialization. r=gerald
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9d25fef91ab1
https://hg.mozilla.org/mozilla-central/rev/080cd03c38fd
https://hg.mozilla.org/mozilla-central/rev/06661f12888f
Description
•