swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 724e6d3fe8003c3f60bf404bf22e4e331327c596 authored by Linus Torvalds on 12 February 2010, 19:07:45 UTC
Linux 2.6.33-rc8
Tip revision: 724e6d3
perf-kmem.txt
perf-kmem(1)
==============

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

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

DESCRIPTION
-----------
There are two variants of perf kmem:

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

  'perf kmem stat' to report kernel memory statistics.

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

--caller::
	Show per-callsite statistics

--alloc::
	Show 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]
back to top