tree: 12f7304eb6666f81a9fc15be5b9ab22cd44c005c [path history] [tgz]
  1. tests/
  2. bucket_match.cc
  3. bucket_match.h
  4. BUILD.gn
  5. capture.cc
  6. capture.h
  7. digest.cc
  8. digest.h
  9. printer.cc
  10. printer.h
  11. README.md
  12. summary.cc
  13. summary.h
  14. watcher.cc
  15. watcher.h
src/developer/memory/metrics/README.md

Bucket Matcher Configuration

Bucket matcher configuration can be specified using a JSON file at /config/data/buckets.json.

The buckets.json should contain a JSON array of bucket matcher objects. Each bucket matcher must have three members:

  • name: the name of the reported bucket in the memory monitor output.
  • process: a regular expression matching the name of all processes whose VMOs should be considered for this bucket.
  • vmo: a regular expression matching the name of VMOs that should be considered for this bucket.