diff options
author | Xi Pardee <xi.pardee@linux.intel.com> | 2025-04-25 22:52:32 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-05-08 16:03:43 +0300 |
commit | 1e24546894d25863772e0e7829ea7a3f693d471a (patch) | |
tree | eec3ad3d356ee9df121c5bdcd2b5b06847d25328 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6f130e048d390f1f63e05d899690bf2115175a17 (diff) | |
download | linux-1e24546894d25863772e0e7829ea7a3f693d471a.tar.xz |
platform/x86:intel/pmc: Move error handling to init function
Move error handling code to generic_core_init() function. The previous
implementation is that init function called for "full cleanup" function
when error occurs which is error prone. The init function should handle
the error path itself to improve code maintainability.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://lore.kernel.org/r/20250425195237.493129-5-xi.pardee@linux.intel.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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions