0001 =====================
0002 rtla-timerlat-hist
0003 =====================
0004 ------------------------------------------------
0005 Histograms of the operating system timer latency
0006 ------------------------------------------------
0007
0008 :Manual section: 1
0009
0010 SYNOPSIS
0011 ========
0012 **rtla timerlat hist** [*OPTIONS*] ...
0013
0014 DESCRIPTION
0015 ===========
0016
0017 .. include:: common_timerlat_description.rst
0018
0019 The **rtla timerlat hist** displays a histogram of each tracer event
0020 occurrence. This tool uses the periodic information, and the
0021 **osnoise:** tracepoints are enabled when using the **-T** option.
0022
0023 OPTIONS
0024 =======
0025
0026 .. include:: common_timerlat_options.rst
0027
0028 .. include:: common_hist_options.rst
0029
0030 .. include:: common_options.rst
0031
0032 EXAMPLE
0033 =======
0034 In the example below, **rtla timerlat hist** is set to run for *10* minutes,
0035 in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat
0036 hist** will change the priority of the *timerlat* threads to run under
0037 *SCHED_DEADLINE* priority, with a *10us* runtime every *1ms* period. The
0038 *1ms* period is also passed to the *timerlat* tracer::
0039
0040 [root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1ms
0041 # RTLA timerlat histogram
0042 # Time unit is microseconds (us)
0043 # Duration: 0 00:10:00
0044 Index IRQ-000 Thr-000 IRQ-001 Thr-001 IRQ-002 Thr-002 IRQ-003 Thr-003 IRQ-004 Thr-004
0045 0 276489 0 206089 0 466018 0 481102 0 205546 0
0046 1 318327 35487 388149 30024 94531 48382 83082 71078 388026 55730
0047 2 3282 122584 4019 126527 28231 109012 23311 89309 4568 98739
0048 3 940 11815 837 9863 6209 16227 6895 17196 910 9780
0049 4 444 17287 424 11574 2097 38443 2169 36736 462 13476
0050 5 206 43291 255 25581 1223 101908 1304 101137 236 28913
0051 6 132 101501 96 64584 635 213774 757 215471 99 73453
0052 7 74 169347 65 124758 350 57466 441 53639 69 148573
0053 8 53 85183 31 156751 229 9052 306 9026 39 139907
0054 9 22 10387 12 42762 161 2554 225 2689 19 26192
0055 10 13 1898 8 5770 114 1247 128 1405 13 3772
0056 11 9 560 9 924 71 686 76 765 8 713
0057 12 4 256 2 360 50 411 64 474 3 278
0058 13 2 167 2 172 43 256 53 350 4 180
0059 14 1 88 1 116 15 198 42 223 0 115
0060 15 2 63 3 94 11 139 20 150 0 58
0061 16 2 37 0 56 5 78 10 102 0 39
0062 17 0 18 0 28 4 57 8 80 0 15
0063 18 0 8 0 17 2 50 6 56 0 12
0064 19 0 9 0 5 0 19 0 48 0 18
0065 20 0 4 0 8 0 11 2 27 0 4
0066 21 0 2 0 3 1 9 1 18 0 6
0067 22 0 1 0 3 1 7 0 3 0 5
0068 23 0 2 0 4 0 2 0 7 0 2
0069 24 0 2 0 2 1 3 0 3 0 5
0070 25 0 0 0 1 0 1 0 1 0 3
0071 26 0 1 0 0 0 2 0 2 0 0
0072 27 0 0 0 3 0 1 0 0 0 1
0073 28 0 0 0 3 0 0 0 1 0 0
0074 29 0 0 0 2 0 2 0 1 0 3
0075 30 0 1 0 0 0 0 0 0 0 0
0076 31 0 1 0 0 0 0 0 2 0 2
0077 32 0 0 0 1 0 2 0 0 0 0
0078 33 0 0 0 2 0 0 0 0 0 1
0079 34 0 0 0 0 0 0 0 0 0 2
0080 35 0 1 0 1 0 0 0 0 0 1
0081 36 0 1 0 0 0 1 0 1 0 0
0082 37 0 0 0 1 0 0 0 0 0 0
0083 40 0 0 0 0 0 1 0 1 0 0
0084 41 0 0 0 0 0 0 0 0 0 1
0085 42 0 0 0 0 0 0 0 0 0 1
0086 44 0 0 0 0 0 1 0 0 0 0
0087 46 0 0 0 0 0 0 0 1 0 0
0088 47 0 0 0 0 0 0 0 0 0 1
0089 50 0 0 0 0 0 0 0 0 0 1
0090 54 0 0 0 1 0 0 0 0 0 0
0091 58 0 0 0 1 0 0 0 0 0 0
0092 over: 0 0 0 0 0 0 0 0 0 0
0093 count: 600002 600002 600002 600002 600002 600002 600002 600002 600002 600002
0094 min: 0 1 0 1 0 1 0 1 0 1
0095 avg: 0 5 0 5 0 4 0 4 0 5
0096 max: 16 36 15 58 24 44 21 46 13 50
0097
0098 SEE ALSO
0099 ========
0100 **rtla-timerlat**\(1), **rtla-timerlat-top**\(1)
0101
0102 *timerlat* tracer documentation: <https://www.kernel.org/doc/html/latest/trace/timerlat-tracer.html>
0103
0104 AUTHOR
0105 ======
0106 Written by Daniel Bristot de Oliveira <bristot@kernel.org>