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

Mike Rapoport
2025-09-04T07:46:49Z

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.

> + return 0;
> +}
> +

--
Sincerely yours,
Mike.