On 2/18/25 10:58, Sergey Senozhatsky wrote: > On (25/02/18 00:26), Christoph Hellwig wrote: >> On Mon, Feb 17, 2025 at 12:17:03PM +0200, Eugen Hristev wrote: >>> log_buf_addr_get() and log_buf_len_get() can be reused in another module, >>> export the symbols. >> >> Err, no way. > > Yeah I think we've been there before [1] > > [1] https://lore.kernel.org/all/[email protected]/ Okay... in the line of the purpose of this patch series, I would like to be able to have the dmesg ready to be retrieved out of the kernel in case the kernel becomes unusable (due to various reasons as described in the cover letter). However to know exactly 'where' is the buffer stored I would need some way to point to it. Do you have any other suggestion on how to do this ? Using the kmsg_dump() API works only if the kernel/CPU can run code. Thanks for looking into the patches, Eugen
- [RFC][PATCH 06/10] qcom: smem: enable smem pstore backe... Eugen Hristev
- [RFC][PATCH 05/10] pstore: implement core area registra... Eugen Hristev
- [RFC][PATCH 01/10] pstore/zone: move pstore_device_info... Eugen Hristev
- [RFC][PATCH 02/10] pstore/smem: add new pstore/smem typ... Eugen Hristev
- [RFC][PATCH 09/10] devcoredump: add devcd_{un}register_... Eugen Hristev
- [RFC][PATCH 08/10] pstore: register kmsg into directly ... Eugen Hristev
- [RFC][PATCH 04/10] qcom: smem: add pstore smem backend Eugen Hristev
- [RFC][PATCH 07/10] printk: export symbols for buffer ad... Eugen Hristev
- Re: [RFC][PATCH 07/10] printk: export symbols for ... Christoph Hellwig
- Re: [RFC][PATCH 07/10] printk: export symbols ... Sergey Senozhatsky
- Re: [RFC][PATCH 07/10] printk: export symb... Eugen Hristev
- [RFC][PATCH 10/10] rng: qcom_rng: EXAMPLE: registering ... Eugen Hristev
- [RFC][PATCH 03/10] pstore/zone: introduce directly mapp... Eugen Hristev
- Re: [RFC][PATCH 00/10] pstore: directly mapped regions Johannes Berg
- Re: [RFC][PATCH 00/10] pstore: directly mapped reg... Eugen Hristev
- Re: [RFC][PATCH 00/10] pstore: directly mapped... Johannes Berg
- Re: [RFC][PATCH 00/10] pstore: directly ma... Eugen Hristev
- Re: [RFC][PATCH 00/10] pstore: directl... Johannes Berg
