summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-kmem.txt
blob: 44b0ce35c28a4b0c37095c3392d9326f08354ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
perf-kmem(1)
==============

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

SYNOPSIS
--------
[verse]
'perf kmem' {record} [<options>]

DESCRIPTION
-----------
There's two variants of perf kmem:

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

  'perf kmem' to report kernel memory statistics.

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

--stat=<caller|alloc>::
	Select per callsite or per allocation statistics

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