summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-04-30 15:15:55 -0700
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-05-11 19:20:54 +0300
commita3d0dbd18ce908292607bb6cf37c978ece8a33d4 (patch)
tree61dd45764c0e7dcdd0b8ba93c0676fcee51553c4 /tools/perf/scripts/python/stackcollapse.py
parent18bc6ce6bb618e1dff4473d7dd528d22519abbd7 (diff)
platform/x86: panasonic-laptop: simplify allocation of sinf
Change to a flexible array member to allocate once instead of twice. Use __counted_by for extra runtime analysis. Move the counting variable assignment to right after allocation as done by kzalloc_flex for GCC 15 and above. Remove + 1 to allocation. It's already done in the previous line. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260430221555.83351-1-rosenp@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions