Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) perf-lock(1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) NAME
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) ----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) perf-lock - Analyze lock events
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) SYNOPSIS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) --------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) [verse]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 'perf lock' {record|report|script|info}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) DESCRIPTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) You can analyze various lock behaviours
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) and statistics with this 'perf lock' command.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)   'perf lock record <command>' records lock events
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)   between start and end <command>. And this command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)   produces the file "perf.data" which contains tracing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)   results of lock events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)   'perf lock report' reports statistical data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)   'perf lock script' shows raw lock events.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)   'perf lock info' shows metadata like threads or addresses
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)   of lock instances.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) COMMON OPTIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) -i::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) --input=<file>::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)         Input file name. (default: perf.data unless stdin is a fifo)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) -v::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) --verbose::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)         Be more verbose (show symbol address, etc).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) -D::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) --dump-raw-trace::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)         Dump raw trace in ASCII.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) -f::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) --force::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	Don't complan, do it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) REPORT OPTIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) -k::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) --key=<value>::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)         Sorting key. Possible values: acquired (default), contended,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	avg_wait, wait_total, wait_max, wait_min.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) INFO OPTIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) ------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) -t::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) --threads::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 	dump thread list in perf.data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) -m::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) --map::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 	dump map of lock instances (address:name table)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) SEE ALSO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) --------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) linkperf:perf[1]