summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2013-03-02 11:17:37 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-04-25 04:29:02 +0400
commitbdbeefe8ea8c7aa1e00397641e1f3dfa41a20968 (patch)
tree24462633c17118c7cb61c2de997047f40b82cba9 /tools/perf/scripts/python/event_analyzing_sample.py
parent01f27fc085574b301248d4da241e9d5ebd61e5c9 (diff)
downloadlinux-bdbeefe8ea8c7aa1e00397641e1f3dfa41a20968.tar.xz
ixgbe: fix possible divide by zero in ixgbe_update_itr
Protect the code by bailing out of ixgbe_update_itr() when this occurs. The next call to ixgbe_update_itr will continue to dynamically update ITR. Signed-of-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions