summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-05-12 17:20:44 +0200
committerChristoph Hellwig <hch@lst.de>2025-05-20 05:34:27 +0200
commitde65e642644a20576af4e9d88fcbd911766c6b57 (patch)
treec1876b933bf593fd3f87eebf0a7ac31b00a794d0 /tools/perf/scripts/python/exported-sql-viewer.py
parentf01e389e88b27a55674bc11d5d44dc75f0d83745 (diff)
nvme-pci: use struct_size for allocation struct nvme_dev
This avoids open coding the variable size array arithmetics. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Kanchan Joshi <joshi.k@samsung.com> Reviewed-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions