Li Zefan | b23d576 | 2009-11-24 13:27:11 +0800 | [diff] [blame^] | 1 | perf-kmem(1) |
| 2 | ============== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | perf-kmem - Tool to trace/measure kernel memory(slab) properties |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'perf kmem' {record} [<options>] |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | There's 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' to report kernel memory statistics. |
| 21 | |
| 22 | OPTIONS |
| 23 | ------- |
| 24 | -i <file>:: |
| 25 | --input=<file>:: |
| 26 | Select the input file (default: perf.data) |
| 27 | |
| 28 | --stat=<caller|alloc>:: |
| 29 | Select per callsite or per allocation statistics |
| 30 | |
| 31 | -s <key[,key2...]>:: |
| 32 | --sort=<key[,key2...]>:: |
| 33 | Sort the output (default: frag,hit,bytes) |
| 34 | |
| 35 | -l <num>:: |
| 36 | --line=<num>:: |
| 37 | Print n lines only |
| 38 | |
| 39 | --raw-ip:: |
| 40 | Print raw ip instead of symbol |
| 41 | |
| 42 | SEE ALSO |
| 43 | -------- |
| 44 | linkperf:perf-record[1] |