--- zzzz-none-000/linux-4.9.279/include/linux/kmsg_dump.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-arm-6591-750/linux-4.9.279/include/linux/kmsg_dump.h 2023-02-08 10:58:16.000000000 +0000 @@ -71,6 +71,10 @@ int kmsg_dump_register(struct kmsg_dumper *dumper); int kmsg_dump_unregister(struct kmsg_dumper *dumper); + +#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) {