perf-kmem(1) ============ NAME ---- perf-kmem - Tool to trace/measure kernel memory properties SYNOPSIS -------- [verse] 'perf kmem' {record|stat} [] DESCRIPTION ----------- There are two variants of perf kmem: 'perf kmem record ' to record the kmem events of an arbitrary workload. 'perf kmem stat' to report kernel memory statistics. OPTIONS ------- -i :: --input=:: 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 :: --sort=:: 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 :: --line=:: 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: ,. 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] /net-next.git/log/tools/perf?h=nds-private-remove'>logtreecommitdiff
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2017-01-05 16:34:51 -0500
committerJ. Bruce Fields <bfields@redhat.com>2017-01-12 15:56:40 -0500
commit546125d1614264d26080817d0c8cddb9b25081fa (patch)
treeee7ffd8b1b320378fa7ffa37a1dc5fd38595a33d /tools/perf
parent78794d1890708cf94e3961261e52dcec2cc34722 (diff)
sunrpc: don't call sleeping functions from the notifier block callbacks
The inet6addr_chain is an atomic notifier chain, so we can't call anything that might sleep (like lock_sock)... instead of closing the socket from svc_age_temp_xprts_now (which is called by the notifier function), just have the rpc service threads do it instead. Cc: stable@vger.kernel.org Fixes: c3d4879e01be "sunrpc: Add a function to close..." Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf')