1b23d5767SLi Zefanperf-kmem(1) 2b23d5767SLi Zefan============== 3b23d5767SLi Zefan 4b23d5767SLi ZefanNAME 5b23d5767SLi Zefan---- 6b23d5767SLi Zefanperf-kmem - Tool to trace/measure kernel memory(slab) properties 7b23d5767SLi Zefan 8b23d5767SLi ZefanSYNOPSIS 9b23d5767SLi Zefan-------- 10b23d5767SLi Zefan[verse] 11*90b86a9fSLi Zefan'perf kmem' {record|stat} [<options>] 12b23d5767SLi Zefan 13b23d5767SLi ZefanDESCRIPTION 14b23d5767SLi Zefan----------- 15*90b86a9fSLi ZefanThere are two variants of perf kmem: 16b23d5767SLi Zefan 17b23d5767SLi Zefan 'perf kmem record <command>' to record the kmem events 18b23d5767SLi Zefan of an arbitrary workload. 19b23d5767SLi Zefan 20*90b86a9fSLi Zefan 'perf kmem stat' to report kernel memory statistics. 21b23d5767SLi Zefan 22b23d5767SLi ZefanOPTIONS 23b23d5767SLi Zefan------- 24b23d5767SLi Zefan-i <file>:: 25b23d5767SLi Zefan--input=<file>:: 26b23d5767SLi Zefan Select the input file (default: perf.data) 27b23d5767SLi Zefan 28*90b86a9fSLi Zefan--caller:: 29*90b86a9fSLi Zefan Show per-callsite statistics 30*90b86a9fSLi Zefan 31*90b86a9fSLi Zefan--alloc:: 32*90b86a9fSLi Zefan Show per-allocation statistics 33b23d5767SLi Zefan 34b23d5767SLi Zefan-s <key[,key2...]>:: 35b23d5767SLi Zefan--sort=<key[,key2...]>:: 36b23d5767SLi Zefan Sort the output (default: frag,hit,bytes) 37b23d5767SLi Zefan 38b23d5767SLi Zefan-l <num>:: 39b23d5767SLi Zefan--line=<num>:: 40b23d5767SLi Zefan Print n lines only 41b23d5767SLi Zefan 42b23d5767SLi Zefan--raw-ip:: 43b23d5767SLi Zefan Print raw ip instead of symbol 44b23d5767SLi Zefan 45b23d5767SLi ZefanSEE ALSO 46b23d5767SLi Zefan-------- 47b23d5767SLi Zefanlinkperf:perf-record[1] 48