rtla/timerlat: Add auto-analysis core
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Tue, 31 Jan 2023 15:38:53 +0000 (16:38 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 2 Feb 2023 15:48:03 +0000 (10:48 -0500)
commit27e348b221f6a78cbe86e7def8e2611f84509211
tree727df9f4e6db878833181816a83e74b99f92fe80
parent1fab1469b66baf7847298b205e5c4aff47c2ae8a
rtla/timerlat: Add auto-analysis core

Currently, timerlat displays a summary of the timerlat tracer results
saving the trace if the system hits a stop condition.

While this represented a huge step forward, the root cause was not
that is accessible to non-expert users.

The auto-analysis fulfill this gap by parsing the trace timerlat runs,
printing an intuitive auto-analysis.

Link: https://lkml.kernel.org/r/1ee073822f6a2cbb33da0c817331d0d4045e837f.1675179318.git.bristot@kernel.org
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/timerlat_aa.c [new file with mode: 0644]
tools/tracing/rtla/src/timerlat_aa.h [new file with mode: 0644]
tools/tracing/rtla/src/utils.h