diff options
| author | Nikanth Karthikesan <[email protected]> | 2010-10-27 15:34:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-27 18:03:13 -0700 |
| commit | b40d4f84becd69275451baee7f0801c85eb58437 (patch) | |
| tree | 78258f7b431a900bf8292d25970dea74b8aa283f /tools/perf/scripts/python/bin | |
| parent | d16e15f5b029fc7d03540ba0e5fb23b0abb0ebe0 (diff) | |
/proc/pid/smaps: export amount of anonymous memory in a mapping
Export the number of anonymous pages in a mapping via smaps.
Even the private pages in a mapping backed by a file, would be marked as
anonymous, when they are modified. Export this information to user-space via
smaps.
Exporting this count will help gdb to make a better decision on which
areas need to be dumped in its coredump; and should be useful to others
studying the memory usage of a process.
Signed-off-by: Nikanth Karthikesan <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Cc: Matt Mackall <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions