aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLibing Zhou <[email protected]>2020-08-20 10:56:41 +0800
committerBorislav Petkov <[email protected]>2020-10-01 14:42:08 +0200
commitf94c91f7ba3ba7de2bc8aa31be28e1abb22f849e (patch)
treeaa1048ce5484a96d123b071ae55113055381f98a /tools/perf/scripts/python/exported-sql-viewer.py
parentea4e3bef4c94d5b5d8e790f37b48b7641172bcf5 (diff)
x86/nmi: Fix nmi_handle() duration miscalculation
When nmi_check_duration() is checking the time an NMI handler took to execute, the whole_msecs value used should be read from the @duration argument, not from the ->max_duration, the latter being used to store the current maximal duration. [ bp: Rewrite commit message. ] Fixes: 248ed51048c4 ("x86/nmi: Remove irq_work from the long duration NMI handler") Suggested-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Libing Zhou <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Changbin Du <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions