File |
VSS |
RSS |
Formula for smaps |
||||
smaps |
dmprof |
Diff |
smaps |
dmprof |
Diff |
||
file-exec |
139920 |
139920 |
= |
39428 |
39428 |
= |
File mapping with x flag |
file-nonexec |
260140 |
260140 |
= |
25504 |
25504 |
= |
File mapping without x flag |
anonymous |
148860 |
148860 |
= |
107568 |
107572 |
Mapping with empty Pathname |
|
stack |
136 |
132 |
76 |
76 |
= |
Main thread stack |
|
other |
215220 |
215216 |
10608 |
10608 |
= |
Thread stack, [vdso], [vsyscall] |
|
total |
764276 |
764268 |
↓8 |
183184 |
183188 |
↑4 |
VSS = sum of Size RSS = sum of Rss |
[HWS1]Maybe Reasonable wave? I check other snapshots, some have the same problem, some don't.
07667000-076db000 rw-p 00000000 00:00 0
[HWS2]It’s really unbelievable that the smaps mapping section is same as the MMAP_LIST in dmprof, and minus result should be 132KB, why does smaps show Size as 136KB? The arithmetic of Linux is wrong? Next I should check the kernel code.
7fffd4bd5000-7fffd4bf6000 rw-p 00000000 00:00 0 [stack]
[HWS3]dmprof didn’t account for [vdso]
--
You received this message because you are subscribed to the Google Groups "dmprof" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dmprof+un...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/dmprof/5b13af64-a3e6-490d-9715-dff8d24302e2%40chromium.org.