[PATCH] Documentation: kunit: Fix bad debugfs path

Thomas Huth posted 1 patch 2 weeks, 1 day ago
Documentation/dev-tools/kunit/run_manual.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation: kunit: Fix bad debugfs path
Posted by Thomas Huth 2 weeks, 1 day ago
The path of debugfs is /sys/kernel/debug/ and not /sys/kernel/debugfs/.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 Documentation/dev-tools/kunit/run_manual.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/dev-tools/kunit/run_manual.rst b/Documentation/dev-tools/kunit/run_manual.rst
index 98e8d5b288085..59c3313a6d15c 100644
--- a/Documentation/dev-tools/kunit/run_manual.rst
+++ b/Documentation/dev-tools/kunit/run_manual.rst
@@ -87,7 +87,7 @@ the ``/sys/kernel/debug/kunit/<test_suite>/run`` file:
 
 .. code-block :: bash
 
-	echo "any string" > /sys/kernel/debugfs/kunit/<test_suite>/run
+	echo "any string" > /sys/kernel/debug/kunit/<test_suite>/run
 
 As a result, the test suite runs and the results are printed to the kernel
 log.
-- 
2.55.0
Re: [PATCH] Documentation: kunit: Fix bad debugfs path
Posted by Randy Dunlap 2 weeks ago

On 9/10/26 6:59 AM, Thomas Huth wrote:
> The path of debugfs is /sys/kernel/debug/ and not /sys/kernel/debugfs/.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  Documentation/dev-tools/kunit/run_manual.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/dev-tools/kunit/run_manual.rst b/Documentation/dev-tools/kunit/run_manual.rst
> index 98e8d5b288085..59c3313a6d15c 100644
> --- a/Documentation/dev-tools/kunit/run_manual.rst
> +++ b/Documentation/dev-tools/kunit/run_manual.rst
> @@ -87,7 +87,7 @@ the ``/sys/kernel/debug/kunit/<test_suite>/run`` file:
>  
>  .. code-block :: bash
>  
> -	echo "any string" > /sys/kernel/debugfs/kunit/<test_suite>/run
> +	echo "any string" > /sys/kernel/debug/kunit/<test_suite>/run
>  
>  As a result, the test suite runs and the results are printed to the kernel
>  log.

-- 
~Randy