aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-02-15 19:26:05 +0000
committerJeff Kirsher <[email protected]>2018-02-26 12:35:01 -0800
commite85c1b8234e65134ccf801938f98352a43263a9f (patch)
tree38886720a5f2e6f6af71d528967a97f19edc2475 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent04d4105174349dceccf9545a3e5e421c18f2cc56 (diff)
i40evf: pass struct virtchnl_filter by reference rather than by value
Passing struct virtchnl_filter f by value requires a 272 byte copy on x86_64, so instead pass it by reference is much more efficient. Also adjust some lines that are over 80 chars. Detected by CoverityScan, CID#1465285 ("Big parameter passed by value") Signed-off-by: Colin Ian King <[email protected]> Acked-by: Harshitha Ramamurthy <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions