DescriptionBreakdown nonprofiled memory regions (f.k.a. 'unknown'), and add new policy files.
It breaks down nonprofiled memory regions (f.k.a. 'unknown') with using information
from /proc/(pid)/maps.
'mustbezero' and 'nonprofiled-*' columns show broken down values.
- mustbezero: works as a sentinel value. it should be '0'. tell dmikurube@ if it > 0.
- nonprofiled-absent: works as a sentinel value. should be '0'.
- nonprofiled-anonymous: may be still 'unknown'. no special info from maps.
- nonprofiled-file-exec: is a mapped file here as executable.
- nonprofiled-file-nonexec: is a mapped file here as non-executable.
- nonprofiled-stack: is a stack.
- nonprofiled-other: includes [vdso] and some small portions.
It also removes dmpolicy (an old one) and adds new policy files: policy.l{0-2}.txt.
The new files 'policy.l{0-2}.txt' are recommended instead of 'dmpolicy'.
policy.l0.txt is the roughest, and policy.l2.txt is the finest breakdown.
We can check that summation from 'FROM_HERE_FOR_TOTAL' till 'UNTIL_HERE_FOR_TOTAL'
is equal to 'total-exclude-profiler'.
Finally, dmprof.py is renamed into dmprof like pprof in tcmalloc.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132174
Patch Set 1 #Patch Set 2 : refined #Patch Set 3 : refined again. #Patch Set 4 : refined. #Patch Set 5 : MMapType => MapsRegionType #Patch Set 6 : added & updated policy files. #Patch Set 7 : refined policy files. #Patch Set 8 : refined. #Patch Set 9 : refactored #Patch Set 10 : ready for review #
Total comments: 31
Patch Set 11 : reflected the comments. #
Messages
Total messages: 14 (0 generated)
|