summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@amd.com>2025-11-04 15:09:20 +0530
committerBorislav Petkov (AMD) <bp@alien8.de>2026-03-02 14:27:05 +0100
commit62a9fc50e8d947601ea3484e732b1a65a0a54b96 (patch)
tree8eb6c81bc7249354b5f0ea61a70c0628c2416176 /tools/perf/scripts/python/stackcollapse.py
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff)
EDAC/versalnet: Refactor memory controller initialization and cleanup
Simplify the initialization and cleanup flow for Versal Net DDRMC controllers in the EDAC driver by carving out the single controller init into a separate function which allows for a much better and more readable error handling and unwinding. [ bp: - do the kzalloc allocations first - "publish" the structures only after they've been initialized properly so that you don't need to unwind unnecessarily when it fails later - remove_versalnet() is now trivial ] Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20251104093932.3838876-1-shubhrajyoti.datta@amd.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions