Lines Matching refs:dump
19 super(CatCommand, self).__init__('Usage: %prog cat <first-dump>')
67 for dump in dumps:
68 if json_root['run_id'] and json_root['run_id'] != dump.run_id:
72 json_root['run_id'] = dump.run_id
74 LOGGER.info('Sorting a dump %s...' % dump.path)
76 self._fill_snapshot(dump, bucket_set, sorters))
79 json.dump(json_root, sys.stdout, indent=2)
81 json.dump(json_root, sys.stdout)
85 def _fill_snapshot(dump, bucket_set, sorters):
87 root['time'] = dump.time
90 dump, bucket_set, sorters, 'vm')
92 dump, bucket_set, sorters, 'malloc')
96 def _fill_world(dump, bucket_set, sorters, world):
109 for unit in CatCommand._iterate_vm_unit(dump, None, bucket_set):
114 for unit in CatCommand._iterate_malloc_unit(dump, bucket_set):
147 def _iterate_vm_unit(dump, pfn_dict, bucket_set):
149 for _, region in dump.iter_map:
152 if pfn_dict and dump.pageframe_length:
162 if pfn_dict and dump.pageframe_length:
178 def _iterate_malloc_unit(dump, bucket_set):
179 for bucket_id, _, committed, allocs, frees in dump.iter_stacktrace: