aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-04-03 12:47:01 -0700
committerStephen Boyd <sboyd@kernel.org>2026-04-28 18:42:16 -0700
commit10d65b7e1c37681e3eabe52b0ecb499538d32b41 (patch)
tree8f404cbf87ab8564616c74fb94e86e164a40a504 /tools/perf/scripts/python
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
clk: mvebu: use kzalloc_flex
Use a flexible array member to combine kzalloc and kcalloc in one allocation so they can be freed together. Add __counted_by for extra runtime analysis. Move counting variable assignment right after allocation as done by kzalloc_flex with GCC >= 15. Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions