diff options
| author | Wen Yang <wen.yang@linux.dev> | 2026-09-15 03:13:35 +0800 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-10-01 13:59:45 +0200 |
| commit | cd34b37a7d56b0e0daf0e82d50453599459e2496 (patch) | |
| tree | ed12359a654aba67e82494085f2ad97c4c551afb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 39ccedfd9e55c95e440c26611a1db750b92b83bf (diff) | |
rv: Propagate rv_register_reactor() error from reactor init
Both register_react_printk() and register_react_panic() ignore the
return value of rv_register_reactor() and always return 0. If the
registration fails (e.g. a duplicate reactor name), the init functions
silently report success even though the reactor was not registered.
Propagate the error from rv_register_reactor() so a failed registration
is reported instead of being silently ignored.
Reviewed-by: Gabriele Monaco <gmonaco@redhat.com>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Wen Yang <wen.yang@linux.dev>
Link: https://lore.kernel.org/r/1684c66520cee66ba86224f2b9e473c7dd2416ee.1789412799.git.wen.yang@linux.dev
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
