2009-11-24 13:27:11 +08:00
|
|
|
perf-kmem(1)
|
2010-05-05 22:23:27 +08:00
|
|
|
============
|
2009-11-24 13:27:11 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
perf-kmem - Tool to trace/measure kernel memory(slab) properties
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
2009-12-10 15:21:57 +08:00
|
|
|
'perf kmem' {record|stat} [<options>]
|
2009-11-24 13:27:11 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2009-12-10 15:21:57 +08:00
|
|
|
There are two variants of perf kmem:
|
2009-11-24 13:27:11 +08:00
|
|
|
|
|
|
|
'perf kmem record <command>' to record the kmem events
|
|
|
|
of an arbitrary workload.
|
|
|
|
|
2009-12-10 15:21:57 +08:00
|
|
|
'perf kmem stat' to report kernel memory statistics.
|
2009-11-24 13:27:11 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-i <file>::
|
|
|
|
--input=<file>::
|
2011-12-07 17:02:54 +08:00
|
|
|
Select the input file (default: perf.data unless stdin is a fifo)
|
2009-11-24 13:27:11 +08:00
|
|
|
|
2015-03-12 15:32:47 +08:00
|
|
|
-v::
|
|
|
|
--verbose::
|
|
|
|
Be more verbose. (show symbol address, etc)
|
|
|
|
|
2009-12-10 15:21:57 +08:00
|
|
|
--caller::
|
|
|
|
Show per-callsite statistics
|
|
|
|
|
|
|
|
--alloc::
|
|
|
|
Show per-allocation statistics
|
2009-11-24 13:27:11 +08: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]
|