ANDROID: signal: allow hooks into signal_generate()

Allow drivers to register signal generate hooks.
This helps to get signal info and add debug info for specific signals.

Bug: 374703396
Change-Id: Ie1f7644ddfc8605264378a879012411c06b4da99
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
This commit is contained in:
Jianxiong Pan
2024-09-09 19:39:14 +08:00
committed by Wanwei Jiang
parent 02f8eec617
commit 5fb02b687b
+2
View File
@@ -63,6 +63,8 @@
* SLAB caches for signal bits.
*/
EXPORT_TRACEPOINT_SYMBOL_GPL(signal_generate);
static struct kmem_cache *sigqueue_cachep;
int print_fatal_signals __read_mostly;