aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYu Liao <[email protected]>2023-08-16 14:31:43 +0800
committerHans Verkuil <[email protected]>2023-09-27 09:40:01 +0200
commitba85aea885a195b1b6c802a4ff8edf4e014e54b5 (patch)
treef59f3ffc38bcc8edad9d92bc2a7923fe04643fa3 /tools/perf/scripts/python/export-to-postgresql.py
parent6c4ef82846066bf70a07026fe56e9f209a9a5953 (diff)
media: use struct_size() helper
Prefer struct_size() over open-coded versions of idiom: sizeof(struct-with-flex-array) + sizeof(typeof-flex-array-elements) * count where count is the max number of items the flexible array is supposed to contain. Signed-off-by: Yu Liao <[email protected]> Reviewed-by: Tomasz Figa <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions