--- zzzz-none-000/linux-5.15.111/include/linux/kmsg_dump.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/linux/kmsg_dump.h 2024-02-07 09:28:07.000000000 +0000 @@ -70,6 +70,10 @@ int kmsg_dump_unregister(struct kmsg_dumper *dumper); const char *kmsg_dump_reason_str(enum kmsg_dump_reason reason); + +#if defined(CONFIG_AVM_DEBUG) +bool kmsg_dump_get_buffer_nocontext(bool syslog, char *buf, size_t size, size_t *len); +#endif/*--- #if defined(CONFIG_AVM_DEBUG) ---*/ #else static inline void kmsg_dump(enum kmsg_dump_reason reason) {