diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-04-30 15:43:07 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-11 19:22:22 +0300 |
| commit | 8ef6b01cee44803691c0a0c95b36f8ec710e2afb (patch) | |
| tree | c68f556e83277b3bb1258673595a8576444aaa6b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a3d0dbd18ce908292607bb6cf37c978ece8a33d4 (diff) | |
platform/x86/intel/vsec: allocate res with intel_vsec_dev
Use a flexible array member to combine allocations. Avoids having to
free separately.
Add __counted_by for extra runtime analysis.
Move counting variable assignment to after allocations as is already
done by kzalloc_flex for GCC 15 and above.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Tested-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Link: https://patch.msgid.link/20260430224307.109311-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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
