diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-04-30 15:15:55 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-11 19:20:54 +0300 |
| commit | a3d0dbd18ce908292607bb6cf37c978ece8a33d4 (patch) | |
| tree | 61dd45764c0e7dcdd0b8ba93c0676fcee51553c4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 18bc6ce6bb618e1dff4473d7dd528d22519abbd7 (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
