Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: tools/deep_memory_profiler/dmprof.py

Issue 12575008: Dump stats of memory pages which are hooked, but absent from /proc/<pid>/maps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/chromium/src/deep-heap-profile.cc ('k') | tools/deep_memory_profiler/policy.l0.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/deep_memory_profiler/dmprof.py
diff --git a/tools/deep_memory_profiler/dmprof.py b/tools/deep_memory_profiler/dmprof.py
index 96862af8c979827527a08b204e14a40563159acd..4029cfa926462ad1a50bcb1da514743f83b84378 100644
--- a/tools/deep_memory_profiler/dmprof.py
+++ b/tools/deep_memory_profiler/dmprof.py
@@ -742,8 +742,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']
@@ -984,6 +984,7 @@ class PolicyCommands(Command):
for key, value in {
'total': 'total_committed',
'filemapped': 'file_committed',
+ 'absent': 'absent_committed',
Alexander Potapenko 2013/03/13 13:03:19 I wonder if you can make this map global and use t
Dai Mikurube (NOT FULLTIME) 2013/03/14 11:26:22 Yeah, I actually would like to do it, but it actua
'file-exec': 'file-exec_committed',
'file-nonexec': 'file-nonexec_committed',
'anonymous': 'anonymous_committed',
« no previous file with comments | « third_party/tcmalloc/chromium/src/deep-heap-profile.cc ('k') | tools/deep_memory_profiler/policy.l0.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698