Commit | Line | Data |
---|---|---|
b23d5767 | 1 | perf-kmem(1) |
4778e0e8 | 2 | ============ |
b23d5767 LZ |
3 | |
4 | NAME | |
5 | ---- | |
6 | perf-kmem - Tool to trace/measure kernel memory(slab) properties | |
7 | ||
8 | SYNOPSIS | |
9 | -------- | |
10 | [verse] | |
90b86a9f | 11 | 'perf kmem' {record|stat} [<options>] |
b23d5767 LZ |
12 | |
13 | DESCRIPTION | |
14 | ----------- | |
90b86a9f | 15 | There are two variants of perf kmem: |
b23d5767 LZ |
16 | |
17 | 'perf kmem record <command>' to record the kmem events | |
18 | of an arbitrary workload. | |
19 | ||
90b86a9f | 20 | 'perf kmem stat' to report kernel memory statistics. |
b23d5767 LZ |
21 | |
22 | OPTIONS | |
23 | ------- | |
24 | -i <file>:: | |
25 | --input=<file>:: | |
efad1415 | 26 | Select the input file (default: perf.data unless stdin is a fifo) |
b23d5767 | 27 | |
90b86a9f LZ |
28 | --caller:: |
29 | Show per-callsite statistics | |
30 | ||
31 | --alloc:: | |
32 | Show per-allocation statistics | |
b23d5767 LZ |
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 | ||
45 | SEE ALSO | |
46 | -------- | |
47 | linkperf:perf-record[1] |