1PERF-KMEM(1) perf Manual PERF-KMEM(1)
2
3
4
6 perf-kmem - Tool to trace/measure kernel memory properties
7
9 perf kmem {record|stat} [<options>]
10
12 There are two variants of perf kmem:
13
14 ´perf kmem record <command>´ to record the kmem events
15 of an arbitrary workload.
16
17 ´perf kmem stat´ to report kernel memory statistics.
18
20 -i <file>, --input=<file>
21 Select the input file (default: perf.data unless stdin is a fifo)
22
23 -v, --verbose
24 Be more verbose. (show symbol address, etc)
25
26 --caller
27 Show per-callsite statistics
28
29 --alloc
30 Show per-allocation statistics
31
32 -s <key[,key2...]>, --sort=<key[,key2...]>
33 Sort the output (default: frag,hit,bytes)
34
35 -l <num>, --line=<num>
36 Print n lines only
37
38 --raw-ip
39 Print raw ip instead of symbol
40
41 --slab
42 Analyze SLAB allocator events.
43
44 --page
45 Analyze page allocator events
46
48 perf-record(1)
49
50
51
52perf 06/18/2019 PERF-KMEM(1)