diff options
author | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 07:07:19 +0000 |
---|---|---|
committer | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 07:07:19 +0000 |
commit | 99b023428ea595e1f8c10ebef15c51973880c28a (patch) | |
tree | e4e3fcb299249b15e9e8c630efa0cbf28309f436 /tools/deep_memory_profiler | |
parent | 2fa7aeb9df90222b7779e98d1c8a8d8d535efb79 (diff) | |
download | chromium_src-99b023428ea595e1f8c10ebef15c51973880c28a.zip chromium_src-99b023428ea595e1f8c10ebef15c51973880c28a.tar.gz chromium_src-99b023428ea595e1f8c10ebef15c51973880c28a.tar.bz2 |
Dump stats of memory pages which are hooked, but absent from /proc/<pid>/maps.
BUG=189114
Review URL: https://chromiumcodereview.appspot.com/12575008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/deep_memory_profiler')
-rw-r--r-- | tools/deep_memory_profiler/dmprof.py | 5 | ||||
-rw-r--r-- | tools/deep_memory_profiler/policy.l0.json | 6 | ||||
-rw-r--r-- | tools/deep_memory_profiler/policy.l1.json | 6 | ||||
-rw-r--r-- | tools/deep_memory_profiler/policy.l2.json | 6 | ||||
-rw-r--r-- | tools/deep_memory_profiler/policy.t0.json | 6 |
5 files changed, 27 insertions, 2 deletions
diff --git a/tools/deep_memory_profiler/dmprof.py b/tools/deep_memory_profiler/dmprof.py index f9d920e..e745ebd 100644 --- a/tools/deep_memory_profiler/dmprof.py +++ b/tools/deep_memory_profiler/dmprof.py @@ -736,8 +736,8 @@ class Dump(object): lambda n: self._lines[n] != 'GLOBAL_STATS:\n') global_stat_names = [ - 'total', 'file-exec', 'file-nonexec', 'anonymous', 'stack', 'other', - 'nonprofiled-absent', 'nonprofiled-anonymous', + 'total', 'absent', 'file-exec', 'file-nonexec', 'anonymous', 'stack', + 'other', 'nonprofiled-absent', 'nonprofiled-anonymous', 'nonprofiled-file-exec', 'nonprofiled-file-nonexec', 'nonprofiled-stack', 'nonprofiled-other', 'profiled-mmap', 'profiled-malloc'] @@ -996,6 +996,7 @@ class PolicyCommands(Command): for key, value in { 'total': 'total_committed', 'filemapped': 'file_committed', + 'absent': 'absent_committed', 'file-exec': 'file-exec_committed', 'file-nonexec': 'file-nonexec_committed', 'anonymous': 'anonymous_committed', diff --git a/tools/deep_memory_profiler/policy.l0.json b/tools/deep_memory_profiler/policy.l0.json index ddac186..c5351d2 100644 --- a/tools/deep_memory_profiler/policy.l0.json +++ b/tools/deep_memory_profiler/policy.l0.json @@ -20,6 +20,7 @@ "UNTIL_HERE_FOR_TOTAL", "total-exclude-profiler", "total", + "absent", "anonymous", "file-exec", "file-nonexec", @@ -126,6 +127,11 @@ "allocator": "optional" }, { + "name": "absent", + "stacktrace": "optional", + "allocator": "optional" + }, + { "name": "anonymous", "stacktrace": "optional", "allocator": "optional" diff --git a/tools/deep_memory_profiler/policy.l1.json b/tools/deep_memory_profiler/policy.l1.json index a8f96ca..8b36bb8 100644 --- a/tools/deep_memory_profiler/policy.l1.json +++ b/tools/deep_memory_profiler/policy.l1.json @@ -27,6 +27,7 @@ "UNTIL_HERE_FOR_TOTAL", "total-exclude-profiler", "total", + "absent", "anonymous", "file-exec", "file-nonexec", @@ -168,6 +169,11 @@ "allocator": "optional" }, { + "name": "absent", + "stacktrace": "optional", + "allocator": "optional" + }, + { "name": "anonymous", "stacktrace": "optional", "allocator": "optional" diff --git a/tools/deep_memory_profiler/policy.l2.json b/tools/deep_memory_profiler/policy.l2.json index 3a1867f..d5e7f7a 100644 --- a/tools/deep_memory_profiler/policy.l2.json +++ b/tools/deep_memory_profiler/policy.l2.json @@ -54,6 +54,7 @@ "UNTIL_HERE_FOR_TOTAL", "total-exclude-profiler", "total", + "absent", "anonymous", "file-exec", "file-nonexec", @@ -440,6 +441,11 @@ "allocator": "optional" }, { + "name": "absent", + "stacktrace": "optional", + "allocator": "optional" + }, + { "name": "anonymous", "stacktrace": "optional", "allocator": "optional" diff --git a/tools/deep_memory_profiler/policy.t0.json b/tools/deep_memory_profiler/policy.t0.json index 9651dd6..aab8715 100644 --- a/tools/deep_memory_profiler/policy.t0.json +++ b/tools/deep_memory_profiler/policy.t0.json @@ -26,6 +26,7 @@ "UNTIL_HERE_FOR_TOTAL", "total-exclude-profiler", "total", + "absent", "anonymous", "file-exec", "file-nonexec", @@ -169,6 +170,11 @@ "allocator": "optional" }, { + "name": "absent", + "stacktrace": "optional", + "allocator": "optional" + }, + { "name": "anonymous", "stacktrace": "optional", "allocator": "optional" |