aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorSrivatsa S. Bhat (VMware) <[email protected]>2019-10-10 11:50:46 -0700
committerSteven Rostedt (VMware) <[email protected]>2019-10-12 20:49:33 -0400
commit98dc19c11470ee6048aba723d77079ad2cda8a52 (patch)
treeb01c58de6fd199e0f72ccedf78f80e9ebc06e684 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent7f8557b88d6aa5bf31f25f6013d81355a1b1d48d (diff)
tracing/hwlat: Report total time spent in all NMIs during the sample
nmi_total_ts is supposed to record the total time spent in *all* NMIs that occur on the given CPU during the (active portion of the) sampling window. However, the code seems to be overwriting this variable for each NMI, thereby only recording the time spent in the most recent NMI. Fix it by accumulating the duration instead. Link: http://lkml.kernel.org/r/157073343544.17189.13911783866738671133.stgit@srivatsa-ubuntu Fixes: 7b2c86250122 ("tracing: Add NMI tracing in hwlat detector") Cc: [email protected] Signed-off-by: Srivatsa S. Bhat (VMware) <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions