]> 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)
commitbe2c9164f1b8ea522900b21bbabf2c1d2966c1ea
treed46563923e44c99391b1066403a369e7b771ab00
parentfa91a3b5a2e53a995f641241b83c1d4bd4799307
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