mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
13499e559e
Moves mozleak to use structured logging. The logger gets two new actions, mozleak_object to indicate the name of an object that leaked in a specific process and mozleak_total to indicate the total number of bytes leaked in a process. The output from the TBPL formatter is expected to remain near-identical to the previous output from the logger, so there shouldn't be any effect on the ability to fail jobs if there are leaks. Additional features required by web-platform-tests are also added here; the leak thresholds are passed to the logger for mozleak_total and a list of any objects allowed to leak are passed for mozleak_object, so that a log consumer may decide whether a leak is unexpected. In addition, the scope attribute is used to specify the set of tests (or other tasks) running at the time of the leak, which may be used to associate a leak with a specific set of files. MozReview-Commit-ID: 19FsMxVQExH Depends on D12408 Differential Revision: https://phabricator.services.mozilla.com/D12409 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |