perf-kmem.txt 770 字节
Newer Older
L
Li Zefan 已提交
1
perf-kmem(1)
2
============
L
Li Zefan 已提交
3 4 5 6 7 8 9 10

NAME
----
perf-kmem - Tool to trace/measure kernel memory(slab) properties

SYNOPSIS
--------
[verse]
11
'perf kmem' {record|stat} [<options>]
L
Li Zefan 已提交
12 13 14

DESCRIPTION
-----------
15
There are two variants of perf kmem:
L
Li Zefan 已提交
16 17 18 19

  'perf kmem record <command>' to record the kmem events
  of an arbitrary workload.

20
  'perf kmem stat' to report kernel memory statistics.
L
Li Zefan 已提交
21 22 23 24 25 26 27

OPTIONS
-------
-i <file>::
--input=<file>::
	Select the input file (default: perf.data)

28 29 30 31 32
--caller::
	Show per-callsite statistics

--alloc::
	Show per-allocation statistics
L
Li Zefan 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

-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]