Thread (36 messages) flat view 36 messages, 5 authors, 2025-09-10

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

From: Mike Rapoport <rppt@kernel.org>
Date: 2025-09-04 07:46:45
Also in: linux-mm, linux-perf-users, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help