summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-06-07 22:16:02 -0700
committerBrian Masney <bmasney@redhat.com>2026-06-29 13:16:45 -0400
commit9cb19714779f7fc53583e2b074a794329e96df0d (patch)
tree2a503b7973a5aee5379f65f18be2592970c91545 /tools/perf/scripts/python
parent77369b1e6a37134f4c7bf9c175c7c4ec36c3ee11 (diff)
clk: kirkwood: use kzalloc_flex
Simplify allocation by using a flexible array member and kzalloc_flex to combine allocations. Add __counted_by for extra runtime analysis. Move counting variable assignment to right after allocation. kzalloc_flex does this automatically with GCC >= 15. Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions