0

Add the number of alloc and free in the dmprof expand command.

BUG=123750
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/16176004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205498 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
dmikurube@chromium.org
2013-06-11 12:09:46 +00:00
parent f737ecc1ed
commit b39f4f17a3

@ -1662,9 +1662,11 @@ class ExpandCommand(Command):
component_match = policy.find(bucket)
if component_match == component_name:
stacktrace_sequence = ''
stacktrace_sequence += '(alloc=%d) ' % int(words[ALLOC_COUNT])
stacktrace_sequence += '(free=%d) ' % int(words[FREE_COUNT])
if bucket.typeinfo:
stacktrace_sequence += '(type=%s)' % bucket.symbolized_typeinfo
stacktrace_sequence += ' (type.name=%s) ' % bucket.typeinfo_name
stacktrace_sequence += '(type=%s) ' % bucket.symbolized_typeinfo
stacktrace_sequence += '(type.name=%s) ' % bucket.typeinfo_name
for function, sourcefile in zip(
bucket.symbolized_stackfunction[
0 : min(len(bucket.symbolized_stackfunction), 1 + depth)],