aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMark Rustad <[email protected]>2017-04-25 13:55:25 -0700
committerJeff Kirsher <[email protected]>2017-05-31 04:36:51 -0700
commit22cb4fff3d9756229f1e67987f4fabb57a8c68ca (patch)
tree30a4c8f1a3c6d4aa6852aa6bf8a50a76fbda2c5a /tools/perf/scripts/python/bin
parente6b41c888154b5c529ba4d65b6fc55f2a7ae4d75 (diff)
ixgbe: Correct thermal sensor event check
The thermal sensor event logic is messed up, because it can execute the code when there is no thermal event. The current logic is that it will exit when !capable && !event whereas it really should exit when !capable || !event. For one thing, it means that the service task is doing too much work. It probably has some other symptoms as well. So, correct the logic, simplifying to only execute when there is a thermal event. The capable check is redundant. Signed-off-by: Mark Rustad <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions