summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-02-20 10:07:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-20 21:04:33 +0300
commit6627b93bf74b56e8a994c9b5972db51a9692a1e4 (patch)
treef334aebb8e243593f742729b44471a5329760eee /tools/perf/scripts/python/export-to-sqlite.py
parent9a9f8d1e749a5c4df167bc964277c75b952e32b5 (diff)
downloadlinux-6627b93bf74b56e8a994c9b5972db51a9692a1e4.tar.xz
mlxsw: spectrum_span: Use struct_size() to simplify allocation
Allocate the main mirroring struct and the individual structs for the different mirroring agents in a single allocation. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions