Re: [PATCH] printk: Increase PRINTK_PREFIX_MAX and the buf size in print_caller.
From: Petr Mladek
Date: Mon Jun 03 2024 - 08:43:06 EST
On Mon 2024-06-03 16:47:01, gxxa03070307@xxxxxxxxx wrote:
> I need to populate the temporary variable "caller" in "print_caller" func with the additional information. And it's no use defining a buf in out-of-tree patch.
> In out-of-tree patch, I can only add hooks (special cases), I can't change anything else, because it needs to be consistent with mainline linux.
> caller buf in mainline linux is it better to make the buf bigger and leave some space?
I do not understand. Why the buffer size has to be consistent with
mainline linux?
Really, it does not make much sense to upstream just this part
of your out-of-tree patch?
Best Regards,
Petr