Re: [PATCH v2 01/18] mm/ksw: add build system support

Jinchao Wang
2025-09-08T05:49:02Z

On Thu, Sep 04, 2025 at 10:46:32AM +0300, Mike Rapoport wrote:
> On Thu, Sep 04, 2025 at 08:20:58AM +0800, Jinchao Wang wrote:
> > Add Kconfig and Makefile infrastructure for KStackWatch, a real-time tool
> > for debugging kernel stack corruption.
>
> ...
>
> > +static int __init kstackwatch_init(void)
> > +{
> > + pr_info("KSW: module loaded\n");
> > + pr_info("KSW: usage:\n");
> > + pr_info("KSW: echo 'function+ip_offset[+depth] [local_var_offset:local_var_len]' > /proc/kstackwatch\n");
>
> It feels like this belongs to Documentation/ rather than the kernel log.
Thanks for the feedback, I will add a document to replace these logs.
>
> > + return 0;
> > +}
> > +
>
> --
> Sincerely yours,
> Mike.