Re: [PATCH v6 21/23] tools/ksw: add test script
From: Jinchao Wang
Date: Tue Sep 30 2025 - 04:33:43 EST
On 9/30/25 14:49, David Hildenbrand wrote:
On 30.09.25 04:43, Jinchao Wang wrote:kstackwatch_test includes 6 cases. Because KStackWatch is aimed at
Provide a shell script to trigger test cases.
Signed-off-by: Jinchao Wang <wangjinchao600@xxxxxxxxx>
---
Do you think there could be a way to convert this into an automated selftests, living in tool/testing/selftests/TBD ?
debugging stack corruption, several of the cases intentionally trigger
kernel panic. kselftest is designed for tests that exit cleanly with a
status code, so these panic cases do not map well to it.
--
Jinchao