diff options
| author | Vlastimil Babka <[email protected]> | 2018-08-21 21:52:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:44 -0700 |
| commit | f1547959d9efd0be6cac2a2fd32f05dd7144dd6c (patch) | |
| tree | 5c5c1282d48d53a14253afb3fe6aabbf604945e1 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 8e68d689afe3284a5bc1663562d3e0a45d1c64fd (diff) | |
mm: /proc/pid/smaps: factor out common stats printing
To prepare for handling /proc/pid/smaps_rollup differently from
/proc/pid/smaps factor out from show_smap() printing the parts of output
that are common for both variants, which is the bulk of the gathered
memory stats.
[[email protected]: add const, per Alexey]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Vlastimil Babka <[email protected]>
Reviewed-by: Alexey Dobriyan <[email protected]>
Cc: Daniel Colascione <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions