2009-11-24 05:27:11 +00:00
|
|
|
perf-kmem(1)
|
|
|
|
==============
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
perf-kmem - Tool to trace/measure kernel memory(slab) properties
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
2009-12-10 07:21:57 +00:00
|
|
|
'perf kmem' {record|stat} [<options>]
|
2009-11-24 05:27:11 +00:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2009-12-10 07:21:57 +00:00
|
|
|
There are two variants of perf kmem:
|
2009-11-24 05:27:11 +00:00
|
|
|
|
|
|
|
'perf kmem record <command>' to record the kmem events
|
|
|
|
of an arbitrary workload.
|
|
|
|
|
2009-12-10 07:21:57 +00:00
|
|
|
'perf kmem stat' to report kernel memory statistics.
|
2009-11-24 05:27:11 +00:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-i <file>::
|
|
|
|
--input=<file>::
|
|
|
|
Select the input file (default: perf.data)
|
|
|
|
|
2009-12-10 07:21:57 +00:00
|
|
|
--caller::
|
|
|
|
Show per-callsite statistics
|
|
|
|
|
|
|
|
--alloc::
|
|
|
|
Show per-allocation statistics
|
2009-11-24 05:27:11 +00:00
|
|
|
|
|
|
|
-s <key[,key2...]>::
|
|
|
|
--sort=<key[,key2...]>::
|
|
|
|
Sort the output (default: frag,hit,bytes)
|
|
|
|
|
|
|
|
-l <num>::
|
|
|
|
--line=<num>::
|
|
|
|
Print n lines only
|
|
|
|
|
|
|
|
--raw-ip::
|
|
|
|
Print raw ip instead of symbol
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
linkperf:perf-record[1]
|