summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-05-03 17:15:13 +0200
committerAndrii Nakryiko <andrii@kernel.org>2025-05-05 14:21:46 -0700
commit41948afcf503b5667637a0b3ab279a061f559bec (patch)
treec75d4f70db7e96ce3955d76a2b29cf07916cb077 /tools/perf/scripts/python/exported-sql-viewer.py
parent41d4ce6df3f4945341ec509a840cc002a413b6cc (diff)
bpf: Replace offsetof() with struct_size()
Compared to offsetof(), struct_size() provides additional compile-time checks for structs with flexible arrays (e.g., __must_be_array()). No functional changes intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250503151513.343931-2-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions