commit | 2acea43a7272838a75e4c6b7e5473dd6f9c4aa79 | [log] [tgz] |
---|---|---|
author | hajimehoshi <[email protected]> | Wed Mar 08 08:55:37 2017 |
committer | Commit bot <[email protected]> | Wed Mar 08 08:55:37 2017 |
tree | 833e2e0b7b0f07ce2519d5f7ec4efa7cb6d8c522 | |
parent | 5e65e3a4fbb5d4815760fc9b31f3bb5fb81bfbc9 [diff] [blame] |
base: Introduce SharedMemoryTracker for POSIX (but not macOS) This CL introduces SharedMemoryTracker to measure memory usage of SharedMemoy correctly and report them to memory-infra. SharedMemoryTracker records the memory usage when mmap-ing and when unmmap-ing, and reports them when OnMemoryDump is called. This enables to help us know SharedMemory usage correctly. This is a part of a CL (https://codereview.chromium.org/2535213002/) for SharedMemory usage measuring. BUG=604726 Review-Url: https://codereview.chromium.org/2654073002 Cr-Commit-Position: refs/heads/master@{#455406}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index e56d4b3..96f8de21 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -185,6 +185,7 @@ ), True, ( + r"^base[\\\/]memory[\\\/]shared_memory_posix\.cc$", r"^base[\\\/]process[\\\/]process_linux\.cc$", r"^base[\\\/]process[\\\/]process_metrics_linux\.cc$", r"^chrome[\\\/]browser[\\\/]chromeos[\\\/]boot_times_recorder\.cc$",