aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2015-11-16 15:33:34 -0800
committerJeff Kirsher <[email protected]>2015-12-22 05:01:58 -0800
commit6186ddf06dd270a09ca08cc3c182d4cd58cf0218 (patch)
treef64e0d05cbd85f0107e38a512e0275c7b40fffed /tools/perf/scripts/python/event_analyzing_sample.py
parent09f8a82b6abbff279f41ac2892707d3f0f32d00c (diff)
fm10k: use ether_addr_equal instead of memcmp
When comparing MAC addresses, use ether_addr_equal instead of memcmp to ETH_ALEN length. Found and replaced using the following sed: sed -e 's/memcmp\x28\(.*\), ETH_ALEN\x29/!ether_addr_equal\x28\1\x29/' Reported-by: Bruce Allan <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Bruce Allan <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions