blob: eac4d852e7cdc8074d2c885c27744a99c147d9ec [file] [log] [blame]
Li Zefanb23d5762009-11-24 13:27:11 +08001perf-kmem(1)
2==============
3
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>::
26 Select the input file (default: perf.data)
27
Li Zefan90b86a92009-12-10 15:21:57 +080028--caller::
29 Show per-callsite statistics
30
31--alloc::
32 Show per-allocation statistics
Li Zefanb23d5762009-11-24 13:27:11 +080033
34-s <key[,key2...]>::
35--sort=<key[,key2...]>::
36 Sort the output (default: frag,hit,bytes)
37
38-l <num>::
39--line=<num>::
40 Print n lines only
41
42--raw-ip::
43 Print raw ip instead of symbol
44
45SEE ALSO
46--------
47linkperf:perf-record[1]