perf-kmem(1)
============

NAME
----
perf-kmem - Tool to trace/measure kernel memory 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 unless stdin is a fifo)

-v::
--verbose::
        Be more verbose. (show symbol address, etc)

--caller::
	Show per-callsite statistics

--alloc::
	Show per-allocation statistics

-s <key[,key2...]>::
--sort=<key[,key2...]>::
	Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit'
	for page).  Available sort keys are 'ptr, callsite, bytes, hit,
	pingpong, frag' for slab and 'page, callsite, bytes, hit, order,
	migtype, gfp' for page.  This option should be preceded by one of the
	mode selection options - i.e. --slab, --page, --alloc and/or --caller.

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

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

--slab::
	Analyze SLAB allocator events.

--page::
	Analyze page allocator events

--live::
	Show live page stat.  The perf kmem shows total allocation stat by
	default, but this option shows live (currently allocated) pages
	instead.  (This option works with --page option only)

--time::
	Only analyze samples within given time window: <start>,<stop>. Times
	have the format seconds.microseconds. If start is not given (i.e., time
	string is ',x.y') then analysis starts at the beginning of the file. If
	stop time is not given (i.e, time string is 'x.y,') then analysis goes
	to end of file.

SEE ALSO
--------
linkperf:perf-record[1]
og</a><a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/sched/sch_codel.c'>
<input type='hidden' name='id' value='109c75afa1cf7c08015f19e354bed581f29f7a94'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sched?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>sched</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>sch_codel.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='109c75afa1cf7c08015f19e354bed581f29f7a94'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;</td><td class='right'>2016-11-29 11:50:03 +0000</td></tr>
<tr><th>committer</th><td>Mark Brown &lt;broonie@kernel.org&gt;</td><td class='right'>2016-11-30 17:44:16 +0000</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>109c75afa1cf7c08015f19e354bed581f29f7a94</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>94b7c791b7cd83225d6701b10b6d4c1aeac5151a</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>net/sched/sch_codel.c</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/sched/sch_codel.c?id=1001354ca34179f3db924eb66672442a173147dc'>1001354ca34179f3db924eb66672442a173147dc</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/sched/sch_codel.c?id=109c75afa1cf7c08015f19e354bed581f29f7a94&amp;id2=1001354ca34179f3db924eb66672442a173147dc'>diff</a>)</td></tr></table>
<div class='commit-subject'>regulator: core: Correct type of mode in regulator_mode_constrain</div><div class='commit-msg'>Every function handling the mode within the regulator core uses an unsigned
int for mode, except for regulator_mode_constrain. This patch changes the
type of mode within regulator_mode_constrain which fixes several instances
where we are passing pointers to unsigned ints then treating them as an int
within this function.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=109c75afa1cf7c08015f19e354bed581f29f7a94'>Diffstat</a> (limited to 'net/sched/sch_codel.c')</div><table summary='diffstat' class='diffstat'>