gecko-dev/tools/profiler
Gerald Squelart ab686fa4f7 Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum
If all sampling-related features ("Native Stacks", "JavaScript", and "Native
Leaf Stack") are OFF, the sampler loop will not record any stack samples, not
even from labels, which should reduce the profiler overhead significantly.

This means that the sampling rate could be slowed down (up to 5s interval), to
help reduce the power consumption incurred by wake-ups for sampling.
Markers are not affected by this, and will all be recorded as expected.
However counters (e.g., memory allocations) are still tied to sampling, so their
sampling resolution will be reduced to whatever sampling rate is chosen.

Some existing tests relied on stack sampling happening, so they now enable at
least "leaf". Bug 1579333 may revisit these tests for a better solution (if
possible).

Differential Revision: https://phabricator.services.mozilla.com/D46753

--HG--
extra : moz-landing-system : lando
2019-09-24 15:50:19 +00:00
..
core Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum 2019-09-24 15:50:19 +00:00
gecko Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum 2019-09-04 07:56:51 +00:00
lul Bug 1572613 - Use frame pointer based stack walker even if Android/x86 and Android/x86-64. r=jseward 2019-08-13 07:34:29 +00:00
public Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum 2019-09-24 15:50:19 +00:00
rust-helper Bug 1580908 - Part 3: Deduplicate memmap by updating it to 0.7 in profiler_helper. r=froydnj 2019-09-12 21:46:06 +00:00
tasktracer Bug 1549232 - Only use profiler_current_{process,thread}_id in the Gecko Profiler instead of alternatives - r=mstange 2019-05-09 18:26:15 +00:00
tests Bug 1549482 - Rudimentary no-sampling mode - r=gregtatum 2019-09-24 15:50:19 +00:00
moz.build Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald 2019-08-23 05:45:16 +00:00