tree: b538a4899a994a9c07c19c2cd41570e63f292f85
  1. tests/
  2. bucket_match.cc
  3. bucket_match.h
  4. BUILD.gn
  5. capture.cc
  6. capture.h
  7. capture_strategy.cc
  8. capture_strategy.h
  9. digest.cc
  10. digest.h
  11. mas_cache.h
  12. printer.cc
  13. printer.h
  14. README.md
  15. summary.cc
  16. summary.h
  17. watcher.cc
  18. 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.