Re: [PATCH] Documentation/rtla: Describe exit status

From: Steven Rostedt
Date: Tue Jul 01 2025 - 17:44:31 EST


On Sun, 8 Jun 2025 13:55:30 +0300
Costa Shulyupin <costa.shul@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve

> ---
> Documentation/tools/rtla/common_appendix.rst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/tools/rtla/common_appendix.rst b/Documentation/tools/rtla/common_appendix.rst
> index b5cf2dc223df..a6233ca8e6d6 100644
> --- a/Documentation/tools/rtla/common_appendix.rst
> +++ b/Documentation/tools/rtla/common_appendix.rst
> @@ -1,3 +1,13 @@
> +.. 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@xxxxxxxxxxxxxxx>