Linux/linux fc64e4akernel/trace trace_hwlat.c

tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency

max_latency is intended to record the maximum ever observed hardware
latency, which may occur in either part of the loop (inner/outer). So
we need to also consider the outer-loop sample when updating
max_latency.

Link: http://lkml.kernel.org/r/157073345463.17189.18124025522664682811.stgit@srivatsa-ubuntu

Fixes: e7c15cd8a113 ("tracing: Added hardware latency tracer")
Cc: stable at vger.kernel.org
Signed-off-by: Srivatsa S. Bhat (VMware) <srivatsa at csail.mit.edu>
Signed-off-by: Steven Rostedt (VMware) <rostedt at goodmis.org>
DeltaFile
+2-0kernel/trace/trace_hwlat.c
+2-01 files

UnifiedSplitRaw