aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2016-01-04 10:33:11 -0800
committerJeff Kirsher <[email protected]>2016-02-17 08:57:44 -0800
commit45d043597d2d0e780e768866c6fbfe8dbee5f2cf (patch)
tree797ded4a72ea6e86ea456f92eabbc906c91dc20d /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc40918c3ad80e550ec68339d6816059e11648012 (diff)
i40e: avoid large memcpy by assigning struct
Assign the i40e_pf structure directly instead of using a large memcpy, which avoids a sparse warning and lets the compiler optimize the copy since it knows the size of the structure in advance. Change-ID: I17604e23be2616521eb760290befcb767b52b3f7 Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Jesse Brandeburg <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions