* [PATCH] Documentation/rtla: Describe exit status
@ 2025-06-08 10:55 Costa Shulyupin
2025-07-01 21:44 ` Steven Rostedt
2025-07-17 20:26 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Costa Shulyupin @ 2025-06-08 10:55 UTC (permalink / raw)
To: Steven Rostedt, Jonathan Corbet, linux-trace-kernel, linux-doc,
linux-kernel
Cc: Tomas Glozar, Costa Shulyupin
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>
---
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@vger.kernel.org>
--
2.48.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/rtla: Describe exit status
2025-06-08 10:55 [PATCH] Documentation/rtla: Describe exit status Costa Shulyupin
@ 2025-07-01 21:44 ` Steven Rostedt
2025-07-17 20:26 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2025-07-01 21:44 UTC (permalink / raw)
To: Costa Shulyupin
Cc: Jonathan Corbet, linux-trace-kernel, linux-doc, linux-kernel,
Tomas Glozar
On Sun, 8 Jun 2025 13:55:30 +0300
Costa Shulyupin <costa.shul@redhat.com> 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@redhat.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-- 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@vger.kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/rtla: Describe exit status
2025-06-08 10:55 [PATCH] Documentation/rtla: Describe exit status Costa Shulyupin
2025-07-01 21:44 ` Steven Rostedt
@ 2025-07-17 20:26 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2025-07-17 20:26 UTC (permalink / raw)
To: Costa Shulyupin, Steven Rostedt, linux-trace-kernel, linux-doc,
linux-kernel
Cc: Tomas Glozar, Costa Shulyupin
Costa Shulyupin <costa.shul@redhat.com> writes:
> 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>
> ---
> Documentation/tools/rtla/common_appendix.rst | 10 ++++++++++
> 1 file changed, 10 insertions(+)
So I have to apologize ... I just stumbled across your two docs patches
deep in an email folder; I had clearly let them fall through the cracks.
That said...
> 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
> +===========
There has to be a blank line after the SPDX line, or you get warnings
like this:
> Documentation/tools/rtla/common_appendix.rst:2: WARNING: Explicit markup ends without a blank line; unexpected unindent. [docutils]
To atone for my dropping this, I went in and amended the patch with the
obvious - no need to resend. In the future, though, please always build
the docs after making changes to be sure that all is well.
Thanks,
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-17 20:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-08 10:55 [PATCH] Documentation/rtla: Describe exit status Costa Shulyupin
2025-07-01 21:44 ` Steven Rostedt
2025-07-17 20:26 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).