6 perf-kmem - Tool to trace/measure kernel memory properties
11 'perf kmem' {record|stat} [<options>]
15 There are two variants of perf kmem:
17 'perf kmem record <command>' to record the kmem events
18 of an arbitrary workload.
20 'perf kmem stat' to report kernel memory statistics.
26 Select the input file (default: perf.data unless stdin is a fifo)
30 Be more verbose. (show symbol address, etc)
33 Show per-callsite statistics
36 Show per-allocation statistics
39 --sort=<key[,key2...]>::
40 Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit'
41 for page). Available sort keys are 'ptr, callsite, bytes, hit,
42 pingpong, frag' for slab and 'page, callsite, bytes, hit, order,
43 migtype, gfp' for page. This option should be preceded by one of the
44 mode selection options - i.e. --slab, --page, --alloc and/or --caller.
51 Print raw ip instead of symbol
54 Analyze SLAB allocator events.
57 Analyze page allocator events
60 Show live page stat. The perf kmem shows total allocation stat by
61 default, but this option shows live (currently allocated) pages
62 instead. (This option works with --page option only)
66 linkperf:perf-record[1]