aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRustam Kovhaev <[email protected]>2020-09-18 05:05:00 -0700
committerPaolo Bonzini <[email protected]>2020-09-28 07:57:17 -0400
commit871c433bae565306cfc3a1a386bf7328bc9d31cb (patch)
tree4119e67682745c57af5cd6e1426f1312cabce2b1 /tools/perf/scripts/python/event_analyzing_sample.py
parent4407a797e9412afba2f7815fb19395d4b32dca4e (diff)
KVM: use struct_size() and flex_array_size() helpers in kvm_io_bus_unregister_dev()
Make use of the struct_size() helper to avoid any potential type mistakes and protect against potential integer overflows Make use of the flex_array_size() helper to calculate the size of a flexible array member within an enclosing structure Suggested-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Rustam Kovhaev <[email protected]> Message-Id: <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions