aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2020-09-08 10:46:09 +0300
committerSaeed Mahameed <[email protected]>2020-09-21 19:41:13 -0700
commit8ba6f18399c946cc2de58ece7e9636d52829a0d9 (patch)
treed4f6ca1f6806a2784dcb334aed03db373b2e3e27 /tools/perf/scripts/python/bin/stackcollapse-report
parent6d55af43fe9398b67165c47d474d47a84681bbeb (diff)
net/mlx5e: Use struct assignment to initialize mlx5e_tx_wqe_info
Struct assignment guarantees that all fields of the structure are initialized (those that are not mentioned are zeroed). It makes code mode robust and reduces chances for unpredictable behavior when one forgets to reset some field and it holds an old value from previous iterations of using the structure. Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions