Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b23d5767 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

perf kmem: Add help file



Add Documentation/perf-kmem.txt

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Acked-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: linux-mm@kvack.org <linux-mm@kvack.org>
LKML-Reference: <4B0B6EAF.80802@cn.fujitsu.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 079d3f65
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
perf-kmem(1)
==============

NAME
----
perf-kmem - Tool to trace/measure kernel memory(slab) properties

SYNOPSIS
--------
[verse]
'perf kmem' {record} [<options>]

DESCRIPTION
-----------
There's two variants of perf kmem:

  'perf kmem record <command>' to record the kmem events
  of an arbitrary workload.

  'perf kmem' to report kernel memory statistics.

OPTIONS
-------
-i <file>::
--input=<file>::
	Select the input file (default: perf.data)

--stat=<caller|alloc>::
	Select per callsite or per allocation statistics

-s <key[,key2...]>::
--sort=<key[,key2...]>::
	Sort the output (default: frag,hit,bytes)

-l <num>::
--line=<num>::
	Print n lines only

--raw-ip::
	Print raw ip instead of symbol

SEE ALSO
--------
linkperf:perf-record[1]
+1 −0
Original line number Diff line number Diff line
@@ -14,3 +14,4 @@ perf-timechart mainporcelain common
perf-top			mainporcelain common
perf-trace			mainporcelain common
perf-probe			mainporcelain common
perf-kmem			mainporcelain common