perf-lock(1) ============ NAME ---- perf-lock - Analyze lock events SYNOPSIS -------- [verse] 'perf lock' {record|report|script|info} DESCRIPTION ----------- You can analyze various lock behaviours and statistics with this 'perf lock' command. 'perf lock record ' records lock events between start and end . And this command produces the file "perf.data" which contains tracing results of lock events. 'perf lock report' reports statistical data. 'perf lock script' shows raw lock events. 'perf lock info' shows metadata like threads or addresses of lock instances. COMMON OPTIONS -------------- -i:: --input=:: Input file name. (default: perf.data unless stdin is a fifo) -v:: --verbose:: Be more verbose (show symbol address, etc). -D:: --dump-raw-trace:: Dump raw trace in ASCII. REPORT OPTIONS -------------- -k:: --key=:: Sorting key. Possible values: acquired (default), contended, avg_wait, wait_total, wait_max, wait_min. INFO OPTIONS ------------ -t:: --threads:: dump thread list in perf.data -m:: --map:: dump map of lock instances (address:name table) SEE ALSO -------- linkperf:perf[1] t-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2017-02-07 11:37:56 -0200
committerDavid S. Miller <davem@davemloft.net>2017-02-07 14:11:04 -0500
commit85c727b5948344c8d559e2fda8925e9ddd41c29a (patch)
treeca4a55955cedd8871f53b00e859b3d51b9489ace /include
parentbb580ad698aeb4e5455d701c228c50355f84c056 (diff)
sctp: drop __packed from almost all SCTP structures
__packed is considered harmful as it potentially generates code that doesn't perform well and its usage should be avoided as much as possible. This patch drops __packed from all SCTP structures except one, which is sctp_signed_cookie. In there it's required, as per changelog on commit 9834a2bb4970 ("[SCTP]: Fix sctp_cookie alignment in the packet."). After this patch, no alignment changes neither in x86 or x86_64 and no exceptions were noticed during testing on both archs. Code size for SCTP module also didn't change with this patch. Cc: David Miller <davem@davemloft.net> Cc: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sctp.h80
-rw-r--r--include/net/sctp/structs.h2
2 files changed, 41 insertions, 41 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h