diff options
| author | Enlin Mu <[email protected]> | 2023-08-15 10:07:11 +0800 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2023-08-16 17:06:38 +0200 |
| commit | 3e00123a13d824d63072b1824c9da59cd78356d9 (patch) | |
| tree | 17ab1d56194b6813edb26c1cb6af0d5faa5405f1 /kernel | |
| parent | 92382d744176f230101d54f5c017bccd62770f01 (diff) | |
printk: export symbols for debug modules
the module is out-of-tree, it saves kernel logs when panic
Signed-off-by: Enlin Mu <[email protected]>
Acked-by: Petr Mladek <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/printk/printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 9644f6e5bf15..accfd326e7a1 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -536,12 +536,14 @@ char *log_buf_addr_get(void) { return log_buf; } +EXPORT_SYMBOL_GPL(log_buf_addr_get); /* Return log buffer size */ u32 log_buf_len_get(void) { return log_buf_len; } +EXPORT_SYMBOL_GPL(log_buf_len_get); /* * Define how much of the log buffer we could take at maximum. The value |