blob: 150253cc3c97dd9561610ea780b1b83b871346eb [file] [log] [blame]
Li Zefanb23d5762009-11-24 13:27:11 +08001perf-kmem(1)
Arnaldo Carvalho de Melo4778e0e2010-05-05 11:23:27 -03002============
Li Zefanb23d5762009-11-24 13:27:11 +08003
4NAME
5----
6perf-kmem - Tool to trace/measure kernel memory(slab) properties
7
8SYNOPSIS
9--------
10[verse]
Li Zefan90b86a92009-12-10 15:21:57 +080011'perf kmem' {record|stat} [<options>]
Li Zefanb23d5762009-11-24 13:27:11 +080012
13DESCRIPTION
14-----------
Li Zefan90b86a92009-12-10 15:21:57 +080015There are two variants of perf kmem:
Li Zefanb23d5762009-11-24 13:27:11 +080016
17 'perf kmem record <command>' to record the kmem events
18 of an arbitrary workload.
19
Li Zefan90b86a92009-12-10 15:21:57 +080020 'perf kmem stat' to report kernel memory statistics.
Li Zefanb23d5762009-11-24 13:27:11 +080021
22OPTIONS
23-------
24-i <file>::
25--input=<file>::
Robert Richterefad1412011-12-07 10:02:54 +010026 Select the input file (default: perf.data unless stdin is a fifo)
Li Zefanb23d5762009-11-24 13:27:11 +080027
Namhyung Kimbd72a332015-03-12 16:32:47 +090028-v::
29--verbose::
30 Be more verbose. (show symbol address, etc)
31
Li Zefan90b86a92009-12-10 15:21:57 +080032--caller::
33 Show per-callsite statistics
34
35--alloc::
36 Show per-allocation statistics
Li Zefanb23d5762009-11-24 13:27:11 +080037
38-s <key[,key2...]>::
39--sort=<key[,key2...]>::
40 Sort the output (default: frag,hit,bytes)
41
42-l <num>::
43--line=<num>::
44 Print n lines only
45
46--raw-ip::
47 Print raw ip instead of symbol
48
49SEE ALSO
50--------
51linkperf:perf-record[1]