]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Have hwlat ts be first instance and record count of instances
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 12 Feb 2020 17:21:03 +0000 (12:21 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 3 Mar 2020 22:33:43 +0000 (17:33 -0500)
commitf9d9b5c4bef3c731a8f9af0b76d67b751f93efe9
treed46563923e44c99391b1066403a369e7b771ab00
parent5ffd64ecc0987e6f01533e7cc8fa89b7b34f793f
tracing: Have hwlat ts be first instance and record count of instances

The hwlat tracer runs a loop of width time during a given window. It then
reports the max latency over a given threshold and records a timestamp. But
this timestamp is the time after the width has finished, and not the time it
actually triggered.

Record the actual time when the latency was greater than the threshold as
well as the number of times it was greater in a given width per window.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Documentation/trace/ftrace.rst
kernel/trace/trace_entries.h
kernel/trace/trace_hwlat.c
kernel/trace/trace_output.c