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

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

From: Jinchao Wang <hidden>
Date: 2025-09-08 05:48:58
Also in: linux-mm, linux-perf-users, lkml

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:
quoted
Add Kconfig and Makefile infrastructure for KStackWatch, a real-time tool
for debugging kernel stack corruption.
...
quoted
+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.
quoted
+	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