diff options
author | David Ahern <[email protected]> | 2016-11-25 14:42:13 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-11-29 12:50:32 -0300 |
commit | aa58e9afb613fab74f33292705bb43beb0f1828d (patch) | |
tree | 4c3a3158e74dd6bdf49a386aaad05c9bedc8ebeb /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 030910c085467c7f08f49735c19c66c1baa53f76 (diff) |
perf kmem stat: Track memory freed
Track freed memory as well as allocations and show the net in the
summary.
Committer notes:
Testing it:
# perf kmem record usleep 1
[ perf record: Woken up 0 times to write data ]
[ perf record: Captured and wrote 1.626 MB perf.data (4208 samples) ]
[root@jouet ~]# perf kmem stat --slab
SUMMARY (SLAB allocator)
========================
Total bytes requested: 234,011
Total bytes allocated: 234,504
Total bytes freed: 213,328 <------
Net total bytes allocated: 21,176
Total bytes wasted on internal fragmentation: 493
Internal fragmentation: 0.210231%
Cross CPU allocations: 4/1,963
#
Signed-off-by: David Ahern <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions