xref: /linux/tools/perf/Documentation/perf-kmem.txt (revision e26207a3819684e9b4450a2d30bdd065fa92d9c7)
1perf-kmem(1)
2==============
3
4NAME
5----
6perf-kmem - Tool to trace/measure kernel memory(slab) properties
7
8SYNOPSIS
9--------
10[verse]
11'perf kmem' {record|stat} [<options>]
12
13DESCRIPTION
14-----------
15There are two variants of perf kmem:
16
17  'perf kmem record <command>' to record the kmem events
18  of an arbitrary workload.
19
20  'perf kmem stat' to report kernel memory statistics.
21
22OPTIONS
23-------
24-i <file>::
25--input=<file>::
26	Select the input file (default: perf.data)
27
28--caller::
29	Show per-callsite statistics
30
31--alloc::
32	Show per-allocation statistics
33
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]
48