diff options
author | Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> | 2019-10-10 11:51:01 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-10-12 20:49:33 -0400 |
commit | fc64e4ad80d4b72efce116f87b3174f0b7196f8e (patch) | |
tree | f4c1f3db8217dd7afa8b988c19684535b1d04068 /Documentation/w1 | |
parent | 98dc19c11470ee6048aba723d77079ad2cda8a52 (diff) | |
download | linux-stable-fc64e4ad80d4b72efce116f87b3174f0b7196f8e.tar.gz linux-stable-fc64e4ad80d4b72efce116f87b3174f0b7196f8e.tar.bz2 linux-stable-fc64e4ad80d4b72efce116f87b3174f0b7196f8e.zip |
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@vger.kernel.org
Signed-off-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/w1')
0 files changed, 0 insertions, 0 deletions