Path: blob/master/tools/perf/Documentation/perf-kmem.txt
10821 views
perf-kmem(1)1============23NAME4----5perf-kmem - Tool to trace/measure kernel memory(slab) properties67SYNOPSIS8--------9[verse]10'perf kmem' {record|stat} [<options>]1112DESCRIPTION13-----------14There are two variants of perf kmem:1516'perf kmem record <command>' to record the kmem events17of an arbitrary workload.1819'perf kmem stat' to report kernel memory statistics.2021OPTIONS22-------23-i <file>::24--input=<file>::25Select the input file (default: perf.data)2627--caller::28Show per-callsite statistics2930--alloc::31Show per-allocation statistics3233-s <key[,key2...]>::34--sort=<key[,key2...]>::35Sort the output (default: frag,hit,bytes)3637-l <num>::38--line=<num>::39Print n lines only4041--raw-ip::42Print raw ip instead of symbol4344SEE ALSO45--------46linkperf:perf-record[1]474849