summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-11-09 00:05:08 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-12-03 10:19:36 +0300
commitef4603e82f64605e73495c26050f3f236609d991 (patch)
treeb62014c5f7715cadd93b35fbed748b2d10fcce12 /tools/perf/scripts/python/event_analyzing_sample.py
parente586bb66b57c2a50d464d0f87cf8c7c9c3b36835 (diff)
downloadlinux-ef4603e82f64605e73495c26050f3f236609d991.tar.xz
i40evf: protect against NULL msix_entries and q_vectors pointers
Update the functions which free msix_entries and q_vectors so that they are safe against NULL values. This allows calling code to not care whether these have already been freed when disabling and freeing them. Change-ID: I31bfd1c0da18023d971b618edc6fb049721f3298 Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@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