diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-13 14:56:37 -0700 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2026-03-13 15:04:33 -0700 |
| commit | f42f3076dd9d2cd1bde6abc44e45478fad8a1a54 (patch) | |
| tree | 6d8dd1078cbfc0cdc3126281323858899a320502 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7cbea96f6660786158ed7dc81fe40273d860355b (diff) | |
EDAC/sb: Use kzalloc_flex()
Simplifies allocations by using a flexible array member in this struct.
Add __counted_by to get extra runtime analysis. Move counting variable
assignment immediately after allocation as required by __counted_by.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://patch.msgid.link/20260313215637.6371-1-rosenp@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
