aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2025-06-08 13:55:30 +0300
committerJonathan Corbet <corbet@lwn.net>2025-07-17 15:29:53 -0600
commit2d48d3e483f5d71a9579b0f0468d27e34e1f2a4d (patch)
tree086702d119ff584199d6f914ab906e829a436f2c
parentDocumentation/rtla: Add include common_appendix.rst (diff)
downloadwireguard-linux-2d48d3e483f5d71a9579b0f0468d27e34e1f2a4d.tar.xz
wireguard-linux-2d48d3e483f5d71a9579b0f0468d27e34e1f2a4d.zip
Documentation/rtla: Describe exit status
Commit 18682166f61494072d58 ("rtla: Set distinctive exit value for failed tests") expands exit status making it useful. Add section 'EXIT STATUS' and required SPDX-License-Identifier to the documentation. Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> [jc: fixed sphinx error caused by missing blank line] Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20250608105531.758809-2-costa.shul@redhat.com
-rw-r--r--Documentation/tools/rtla/common_appendix.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/tools/rtla/common_appendix.rst b/Documentation/tools/rtla/common_appendix.rst
index b5cf2dc223df..53cae7537537 100644
--- a/Documentation/tools/rtla/common_appendix.rst
+++ b/Documentation/tools/rtla/common_appendix.rst
@@ -1,3 +1,14 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+EXIT STATUS
+===========
+
+::
+
+ 0 Passed: the test did not hit the stop tracing condition
+ 1 Error: invalid argument
+ 2 Failed: the test hit the stop tracing condition
+
REPORTING BUGS
==============
Report bugs to <linux-kernel@vger.kernel.org>