Documentation/rtla: fix htmldocs build error by renaming common_options.rst
Subsystems (3)
PATCH 1/1 Documentation/rtla: fix htmldocs build error by renaming common_options.rst
Running "make htmldocs" generates the following build errors for common_options.rst
Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer". Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer". Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf". Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".
common_options.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document. It contains substitutions that are only resolved by other documents, so building it independently results in 'undefined substitution referenced' errors.
Rename common_options.rst to common_options.txt to prevent Sphinx from building it as a standalone document and update the include references accordingly.
---
Note: reStructuredText substitutions -
https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#substitutions
Tested by running "make htmldocs" before and after the change, verifying that no substitution errors are generated and the output renders correctly in browsers.
.../tools/rtla/{common_options.rst => common_options.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-hist.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
6 files changed, 5 insertions(+), 5 deletions(-)
rename Documentation/tools/rtla/{common_options.rst => common_options.txt} (100%)Documentation/tools/rtla/common_options.txt renamed from Documentation/tools/rtla/common_options.rst +0 -0
Documentation/tools/rtla/rtla-hwnoise.rst +1 -1
@@ -33,7 +33,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
Documentation/tools/rtla/rtla-osnoise-hist.rst +1 -1
@@ -28,7 +28,7 @@ OPTIONS .. include:: common_hist_options.rst -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
Documentation/tools/rtla/rtla-osnoise-top.rst +1 -1
@@ -30,7 +30,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -29,7 +29,7 @@ OPTIONS .. include:: common_hist_options.rst -.. include:: common_options.rst +.. include:: common_options.txt .. include:: common_timerlat_aa.rst
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -30,7 +30,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt .. include:: common_timerlat_aa.rst
Signature · 1 line
2.43.0
Quoted 22 lines · Gopi Krishna Menon
Documentation/tools/rtla/common_options.txt renamed from Documentation/tools/rtla/common_options.rst +0
-0Documentation/tools/rtla/rtla-hwnoise.rst +1
-1@@ -33,7 +33,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======Documentation/tools/rtla/rtla-osnoise-hist.rst +0
-0
Documentation/tools/rtla/rtla-osnoise-hist.rst OPTIONS · line 31
Quoted 5 lines
Documentation/tools/rtla/rtla-osnoise-hist.rst +1
-1@@ -28,7 +28,7 @@ OPTIONS .. include:: common_hist_options.rst -.. include:: common_options.rst +.. include:: common_options.txt
For consistency, though, you may want (in separate patches) also rename other common_*.rst files.
Quoted 34 lines
Documentation/tools/rtla/rtla-osnoise-hist.rst +0
-0EXAMPLE =======Documentation/tools/rtla/rtla-osnoise-top.rst +1
-1@@ -30,7 +30,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======Documentation/tools/rtla/rtla-timerlat-hist.rst +1
-1@@ -29,7 +29,7 @@ OPTIONS .. include:: common_hist_options.rst -.. include:: common_options.rst +.. include:: common_options.txt .. include:: common_timerlat_aa.rstDocumentation/tools/rtla/rtla-timerlat-top.rst +0
-0
Documentation/tools/rtla/rtla-timerlat-top.rst OPTIONS · line 36
Quoted 8 lines
Documentation/tools/rtla/rtla-timerlat-top.rst +1
-1@@ -30,7 +30,7 @@ OPTIONS .. include:: common_top_options.rst -.. include:: common_options.rst +.. include:: common_options.txt .. include:: common_timerlat_aa.rst
For this patch's scope, LGTM.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 11 lines · Gopi Krishna Menon
Running "make htmldocs" generates the following build errors for
common_options.rst
Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf".Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".
Quoted 8 lines
common_options.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document. It contains substitutions that are only resolved by other documents, so building it independently results in 'undefined substitution referenced' errors.Rename
common_options.rstto common_options.txt to prevent Sphinx from building it as a standalone document and update the include references accordingly.
Thanks.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
cover Documentation/rtla: rename common_xxx.rst files to common_xxx.txt
This series is a continuation of previous patch available at:
https://lore.kernel.org/linux-kernel-mentees/[email protected]/
As suggested by Bagas Sanjaya, this series renames all common_*.rst files under Documentation/tools/rtla to common_*.txt to maintain consistency with common_options.txt and to avoid building them as standalone documents, as they are intended to be included by other rtla documents only.
Each patch renames one file and updates the corrosponding include references.
Testing was done by running "make htmldocs" before and after the changes to verify that no build errors were produced and that the rendered output remained identical.
Gopi Krishna Menon (8):
Documentation/rtla: rename common_appendix.rst to common_appendix.txt Documentation/rtla: rename common_hist_options.rst Documentation/rtla: rename common_osnoise_description.rst Documentation/rtla: rename common_timerlat_aa.rst Documentation/rtla: rename common_timerlat_description.rst Documentation/rtla: rename common_timerlat_options.rst Documentation/rtla: rename common_top_options.rst Documentation/rtla: rename common_osnoise_options.rst
.../rtla/{common_appendix.rst => common_appendix.txt} | 0
...common_hist_options.rst => common_hist_options.txt} | 0
..._description.rst => common_osnoise_description.txt} | 0
..._osnoise_options.rst => common_osnoise_options.txt} | 0
.../{common_timerlat_aa.rst => common_timerlat_aa.txt} | 0
...description.rst => common_timerlat_description.txt} | 0
...imerlat_options.rst => common_timerlat_options.txt} | 0
.../{common_top_options.rst => common_top_options.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 6 +++---
Documentation/tools/rtla/rtla-osnoise-hist.rst | 8 ++++----
Documentation/tools/rtla/rtla-osnoise-top.rst | 8 ++++----
Documentation/tools/rtla/rtla-osnoise.rst | 4 ++--
Documentation/tools/rtla/rtla-timerlat-hist.rst | 10 +++++-----
Documentation/tools/rtla/rtla-timerlat-top.rst | 10 +++++-----
Documentation/tools/rtla/rtla-timerlat.rst | 4 ++--
Documentation/tools/rtla/rtla.rst | 2 +-
16 files changed, 26 insertions(+), 26 deletions(-)
rename Documentation/tools/rtla/{common_appendix.rst => common_appendix.txt} (100%)
rename Documentation/tools/rtla/{common_hist_options.rst => common_hist_options.txt} (100%)
rename Documentation/tools/rtla/{common_osnoise_description.rst => common_osnoise_description.txt} (100%)
rename Documentation/tools/rtla/{common_osnoise_options.rst => common_osnoise_options.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_aa.rst => common_timerlat_aa.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_description.rst => common_timerlat_description.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_options.rst => common_timerlat_options.txt} (100%)
rename Documentation/tools/rtla/{common_top_options.rst => common_top_options.txt} (100%)Signature · 1 line
2.43.0
PATCH 1/8 Documentation/rtla: rename common_appendix.rst
common_appendix.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_appendix.rst to common_appendix.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
.../tools/rtla/{common_appendix.rst => common_appendix.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-hist.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat.rst | 2 +-
Documentation/tools/rtla/rtla.rst | 2 +-
9 files changed, 8 insertions(+), 8 deletions(-)
rename Documentation/tools/rtla/{common_appendix.rst => common_appendix.txt} (100%)Documentation/tools/rtla/common_appendix.txt renamed from Documentation/tools/rtla/common_appendix.rst +0 -0
Documentation/tools/rtla/rtla-hwnoise.rst +1 -1
@@ -106,4 +106,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise-hist.rst +1 -1
@@ -65,4 +65,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise-top.rst +1 -1
@@ -60,4 +60,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise.rst +1 -1
@@ -56,4 +56,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -110,4 +110,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -133,4 +133,4 @@ AUTHOR ------ Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat.rst +1 -1
@@ -51,4 +51,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla.rst +1 -1
@@ -45,4 +45,4 @@ AUTHOR ====== Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Signature · 1 line
2.43.0
Re: [PATCH 1/8] Documentation/rtla: rename common_appendix.rst
Quoted 7 lines · Gopi Krishna Menon
common_appendix.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_appendix.rstto common_appendix.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Tomas Glozar
maintainerRe: [PATCH 1/8] Documentation/rtla: rename common_appendix.rst
In reply to Gopi Krishna Menonút 7. 10. 2025 v 20:55 odesílatel Gopi Krishna Menon <[email protected]> napsal:
Quoted 4 lines
common_appendix.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.
Quoted 8 lines
Rename
common_appendix.rstto common_appendix.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.Suggested-by Bagas Sanjaya <[email protected]>Signed-off-by Gopi Krishna Menon <[email protected]>---
Thanks for the patches! I completely missed that the refactoring of the docs broke Sphinx, I only tested RTLA's man page generation when doing the review...
Could you squash the changes into one patch? See the kernel documentation [1]:
"... On the other hand, if you make a single change to numerous files, group those changes into a single patch. Thus a single logical change is contained within a single patch."
[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes
Thanks,
Tomas
PATCH v2 1/1 Documentation/rtla: rename common_xxx.rst files to common_xxx.txt
Running "make htmldocs" reports the following build errors for common_options.rst:
Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg". Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer". Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer". Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf". Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".
common_*.rst files are intended to be included by other rtla documents and are not meant to be built as a standalone document. common_options.rst in particular contains substitutions that are only resolved by other documents, so building it independently results in 'undefined substitution referenced' errors.
Rename all common_*.rst files to common_*.txt to prevent Sphinx from building them as standalone documents and update all include references accordingly.
---
Note: reStructuredText substitutions -
https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#substitutions
Tested by running "make htmldocs" before and after the change, verifying that no build errors are generated and the output renders correctly in browsers.
.../{common_appendix.rst => common_appendix.txt} | 0
...mmon_hist_options.rst => common_hist_options.txt} | 0
.../rtla/{common_options.rst => common_options.txt} | 0
...escription.rst => common_osnoise_description.txt} | 0
...snoise_options.rst => common_osnoise_options.txt} | 0
...common_timerlat_aa.rst => common_timerlat_aa.txt} | 0
...scription.rst => common_timerlat_description.txt} | 0
...erlat_options.rst => common_timerlat_options.txt} | 0
...common_top_options.rst => common_top_options.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 8 ++++----
Documentation/tools/rtla/rtla-osnoise-hist.rst | 10 +++++-----
Documentation/tools/rtla/rtla-osnoise-top.rst | 10 +++++-----
Documentation/tools/rtla/rtla-osnoise.rst | 4 ++--
Documentation/tools/rtla/rtla-timerlat-hist.rst | 12 ++++++------
Documentation/tools/rtla/rtla-timerlat-top.rst | 12 ++++++------
Documentation/tools/rtla/rtla-timerlat.rst | 4 ++--
Documentation/tools/rtla/rtla.rst | 2 +-
17 files changed, 31 insertions(+), 31 deletions(-)
rename Documentation/tools/rtla/{common_appendix.rst => common_appendix.txt} (100%)
rename Documentation/tools/rtla/{common_hist_options.rst => common_hist_options.txt} (100%)
rename Documentation/tools/rtla/{common_options.rst => common_options.txt} (100%)
rename Documentation/tools/rtla/{common_osnoise_description.rst => common_osnoise_description.txt} (100%)
rename Documentation/tools/rtla/{common_osnoise_options.rst => common_osnoise_options.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_aa.rst => common_timerlat_aa.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_description.rst => common_timerlat_description.txt} (100%)
rename Documentation/tools/rtla/{common_timerlat_options.rst => common_timerlat_options.txt} (100%)
rename Documentation/tools/rtla/{common_top_options.rst => common_top_options.txt} (100%)Documentation/tools/rtla/common_appendix.txt renamed from Documentation/tools/rtla/common_appendix.rst +0 -0
Documentation/tools/rtla/common_hist_options.txt renamed from Documentation/tools/rtla/common_hist_options.rst +0 -0
Documentation/tools/rtla/common_options.txt renamed from Documentation/tools/rtla/common_options.rst +0 -0
Documentation/tools/rtla/common_osnoise_description.txt renamed from Documentation/tools/rtla/common_osnoise_description.rst +0 -0
Documentation/tools/rtla/common_osnoise_options.txt renamed from Documentation/tools/rtla/common_osnoise_options.rst +0 -0
Documentation/tools/rtla/common_timerlat_aa.txt renamed from Documentation/tools/rtla/common_timerlat_aa.rst +0 -0
Documentation/tools/rtla/common_timerlat_description.txt renamed from Documentation/tools/rtla/common_timerlat_description.rst +0 -0
Documentation/tools/rtla/common_timerlat_options.txt renamed from Documentation/tools/rtla/common_timerlat_options.rst +0 -0
Documentation/tools/rtla/common_top_options.txt renamed from Documentation/tools/rtla/common_top_options.rst +0 -0
Documentation/tools/rtla/rtla-hwnoise.rst +4 -4
@@ -29,11 +29,11 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt -.. include:: common_top_options.rst +.. include:: common_top_options.txt -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
@@ -106,4 +106,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise-hist.rst +5 -5
@@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt The **rtla osnoise hist** tool collects all **osnoise:sample_threshold** occurrence in a histogram, displaying the results in a user-friendly way.
@@ -24,11 +24,11 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt -.. include:: common_hist_options.rst +.. include:: common_hist_options.txt -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
@@ -65,4 +65,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise-top.rst +5 -5
@@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt **rtla osnoise top** collects the periodic summary from the *osnoise* tracer, including the counters of the occurrence of the interference source,
@@ -26,11 +26,11 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt -.. include:: common_top_options.rst +.. include:: common_top_options.txt -.. include:: common_options.rst +.. include:: common_options.txt EXAMPLE =======
@@ -60,4 +60,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-osnoise.rst +2 -2
@@ -14,7 +14,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt The *osnoise* tracer outputs information in two ways. It periodically prints a summary of the noise of the operating system, including the counters of
@@ -56,4 +56,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat-hist.rst +6 -6
@@ -16,7 +16,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat hist** displays a histogram of each tracer event occurrence. This tool uses the periodic information, and the
@@ -25,13 +25,13 @@ occurrence. This tool uses the periodic information, and the OPTIONS ======= -.. include:: common_timerlat_options.rst +.. include:: common_timerlat_options.txt -.. include:: common_hist_options.rst +.. include:: common_hist_options.txt -.. include:: common_options.rst +.. include:: common_options.txt -.. include:: common_timerlat_aa.rst +.. include:: common_timerlat_aa.txt EXAMPLE =======
@@ -110,4 +110,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat-top.rst +6 -6
@@ -16,7 +16,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat top** displays a summary of the periodic output from the *timerlat* tracer. It also provides information for each
@@ -26,13 +26,13 @@ seem with the option **-T**. OPTIONS ======= -.. include:: common_timerlat_options.rst +.. include:: common_timerlat_options.txt -.. include:: common_top_options.rst +.. include:: common_top_options.txt -.. include:: common_options.rst +.. include:: common_options.txt -.. include:: common_timerlat_aa.rst +.. include:: common_timerlat_aa.txt **--aa-only** *us*
@@ -133,4 +133,4 @@ AUTHOR ------ Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla-timerlat.rst +2 -2
@@ -14,7 +14,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat top** mode displays a summary of the periodic output from the *timerlat* tracer. The **rtla timerlat hist** mode displays
@@ -51,4 +51,4 @@ AUTHOR ====== Written by Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Documentation/tools/rtla/rtla.rst +1 -1
@@ -45,4 +45,4 @@ AUTHOR ====== Daniel Bristot de Oliveira <[email protected]> -.. include:: common_appendix.rst +.. include:: common_appendix.txt
Signature · 1 line
2.43.0
Re: [PATCH v2] Documentation/rtla: rename common_xxx.rst files to common_xxx.txt
Quoted 17 lines · Gopi Krishna Menon
Running "make htmldocs" reports the following build errors for
common_options.rst:
Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf".Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".common_*.rst files are intended to be included by other rtla documents and are not meant to be built as a standalone document.
common_options.rstin particular contains substitutions that are only resolved by other documents, so building it independently results in 'undefined substitution referenced' errors.
Quoted 4 lines
Rename all common_*.rst files to common_*.txt to prevent Sphinx from building them as standalone documents and update all include references accordingly.
Much better, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH v2] Documentation/rtla: rename common_xxx.rst files to common_xxx.txt
In reply to Gopi Krishna Menonst 8. 10. 2025 v 20:45 odesílatel Gopi Krishna Menon <[email protected]> napsal:
Quoted 18 lines
Running "make htmldocs" reports the following build errors for
common_options.rst:
Documentation/tools/rtla/common_options.rst:58: ERROR: Undefined substitution referenced: "threshold".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tool".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "thresharg".Documentation/tools/rtla/common_options.rst:88: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:92: ERROR: Undefined substitution referenced: "tracer".Documentation/tools/rtla/common_options.rst:98: ERROR: Undefined substitution referenced: "actionsperf".Documentation/tools/rtla/common_options.rst:113: ERROR: Undefined substitution referenced: "tool".common_*.rst files are intended to be included by other rtla documents and are not meant to be built as a standalone document.
common_options.rstin particular contains substitutions that are only resolved by other documents, so building it independently results in 'undefined substitution referenced' errors.
Quoted 8 lines
Rename all common_*.rst files to common_*.txt to prevent Sphinx from building them as standalone documents and update all include references accordingly.
Suggested-by Tomas Glozar <[email protected]>Suggested-by Bagas Sanjaya <[email protected]>Signed-off-by Gopi Krishna Menon <[email protected]>---
Looks good!
Tomas
PATCH 2/8 Documentation/rtla: rename common_hist_options.rst
In reply to Gopi Krishna Menoncommon_hist_options.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_hist_options.rst to common_hist_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
.../rtla/{common_hist_options.rst => common_hist_options.txt} | 0
Documentation/tools/rtla/rtla-osnoise-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/tools/rtla/{common_hist_options.rst => common_hist_options.txt} (100%)Documentation/tools/rtla/common_hist_options.txt renamed from Documentation/tools/rtla/common_hist_options.rst +0 -0
Documentation/tools/rtla/rtla-osnoise-hist.rst +1 -1
@@ -26,7 +26,7 @@ OPTIONS ======= .. include:: common_osnoise_options.rst -.. include:: common_hist_options.rst +.. include:: common_hist_options.txt .. include:: common_options.txt
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -27,7 +27,7 @@ OPTIONS .. include:: common_timerlat_options.rst -.. include:: common_hist_options.rst +.. include:: common_hist_options.txt .. include:: common_options.txt
Signature · 1 line
2.43.0
Re: [PATCH 2/8] Documentation/rtla: rename common_hist_options.rst
Quoted 7 lines · Gopi Krishna Menon
common_hist_options.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_hist_options.rstto common_hist_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 3/8 Documentation/rtla: rename common_osnoise_description.rst
In reply to Gopi Krishna Menoncommon_osnoise_description.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_osnoise_description.rst to common_osnoise_description.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
...n_osnoise_description.rst => common_osnoise_description.txt} | 0
Documentation/tools/rtla/rtla-osnoise-hist.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise.rst | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/tools/rtla/{common_osnoise_description.rst => common_osnoise_description.txt} (100%)Documentation/tools/rtla/common_osnoise_description.txt renamed from Documentation/tools/rtla/common_osnoise_description.rst +0 -0
Documentation/tools/rtla/rtla-osnoise-hist.rst +1 -1
@@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt The **rtla osnoise hist** tool collects all **osnoise:sample_threshold** occurrence in a histogram, displaying the results in a user-friendly way.
Documentation/tools/rtla/rtla-osnoise-top.rst +1 -1
@@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt **rtla osnoise top** collects the periodic summary from the *osnoise* tracer, including the counters of the occurrence of the interference source,
Documentation/tools/rtla/rtla-osnoise.rst +1 -1
@@ -14,7 +14,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_osnoise_description.rst +.. include:: common_osnoise_description.txt The *osnoise* tracer outputs information in two ways. It periodically prints a summary of the noise of the operating system, including the counters of
Signature · 1 line
2.43.0
Re: [PATCH 3/8] Documentation/rtla: rename common_osnoise_description.rst
Quoted 8 lines · Gopi Krishna Menon
common_osnoise_description.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_osnoise_description.rstto common_osnoise_description.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 4/8 Documentation/rtla: rename common_timerlat_aa.rst
In reply to Gopi Krishna Menoncommon_timerlat_aa.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_timerlat_aa.rst to common_timerlat_aa.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
.../rtla/{common_timerlat_aa.rst => common_timerlat_aa.txt} | 0
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/tools/rtla/{common_timerlat_aa.rst => common_timerlat_aa.txt} (100%)Documentation/tools/rtla/common_timerlat_aa.txt renamed from Documentation/tools/rtla/common_timerlat_aa.rst +0 -0
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -31,7 +31,7 @@ OPTIONS .. include:: common_options.txt -.. include:: common_timerlat_aa.rst +.. include:: common_timerlat_aa.txt EXAMPLE =======
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -32,7 +32,7 @@ OPTIONS .. include:: common_options.txt -.. include:: common_timerlat_aa.rst +.. include:: common_timerlat_aa.txt **--aa-only** *us*
Signature · 1 line
2.43.0
Re: [PATCH 4/8] Documentation/rtla: rename common_timerlat_aa.rst
Quoted 8 lines · Gopi Krishna Menon
common_timerlat_aa.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_timerlat_aa.rstto common_timerlat_aa.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 5/8 Documentation/rtla: rename common_timerlat_description.rst
In reply to Gopi Krishna Menoncommon_timerlat_description.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_timerlat_description.rst to common_timerlat_description.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
...timerlat_description.rst => common_timerlat_description.txt} | 0
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat.rst | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/tools/rtla/{common_timerlat_description.rst => common_timerlat_description.txt} (100%)Documentation/tools/rtla/common_timerlat_description.txt renamed from Documentation/tools/rtla/common_timerlat_description.rst +0 -0
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -16,7 +16,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat hist** displays a histogram of each tracer event occurrence. This tool uses the periodic information, and the
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -16,7 +16,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat top** displays a summary of the periodic output from the *timerlat* tracer. It also provides information for each
Documentation/tools/rtla/rtla-timerlat.rst +1 -1
@@ -14,7 +14,7 @@ SYNOPSIS DESCRIPTION =========== -.. include:: common_timerlat_description.rst +.. include:: common_timerlat_description.txt The **rtla timerlat top** mode displays a summary of the periodic output from the *timerlat* tracer. The **rtla timerlat hist** mode displays
Signature · 1 line
2.43.0
Re: [PATCH 5/8] Documentation/rtla: rename common_timerlat_description.rst
Quoted 8 lines · Gopi Krishna Menon
common_timerlat_description.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_timerlat_description.rstto common_timerlat_description.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 6/8 Documentation/rtla: rename common_timerlat_options.rst
In reply to Gopi Krishna Menoncommon_timerlat_options.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_timerlat_options.rst to common_timerlat_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
...{common_timerlat_options.rst => common_timerlat_options.txt} | 0
Documentation/tools/rtla/rtla-timerlat-hist.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename Documentation/tools/rtla/{common_timerlat_options.rst => common_timerlat_options.txt} (100%)Documentation/tools/rtla/common_timerlat_options.txt renamed from Documentation/tools/rtla/common_timerlat_options.rst +0 -0
Documentation/tools/rtla/rtla-timerlat-hist.rst +1 -1
@@ -25,7 +25,7 @@ occurrence. This tool uses the periodic information, and the OPTIONS ======= -.. include:: common_timerlat_options.rst +.. include:: common_timerlat_options.txt .. include:: common_hist_options.txt
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -26,7 +26,7 @@ seem with the option **-T**. OPTIONS ======= -.. include:: common_timerlat_options.rst +.. include:: common_timerlat_options.txt .. include:: common_top_options.rst
Signature · 1 line
2.43.0
Re: [PATCH 6/8] Documentation/rtla: rename common_timerlat_options.rst
Quoted 8 lines · Gopi Krishna Menon
common_timerlat_options.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_timerlat_options.rstto common_timerlat_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 7/8 Documentation/rtla: rename common_top_options.rst
In reply to Gopi Krishna Menoncommon_top_options.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_top_options.rst to common_top_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
.../rtla/{common_top_options.rst => common_top_options.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 2 +-
Documentation/tools/rtla/rtla-timerlat-top.rst | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/tools/rtla/{common_top_options.rst => common_top_options.txt} (100%)Documentation/tools/rtla/common_top_options.txt renamed from Documentation/tools/rtla/common_top_options.rst +0 -0
Documentation/tools/rtla/rtla-hwnoise.rst +1 -1
@@ -31,7 +31,7 @@ OPTIONS ======= .. include:: common_osnoise_options.rst -.. include:: common_top_options.rst +.. include:: common_top_options.txt .. include:: common_options.txt
Documentation/tools/rtla/rtla-osnoise-top.rst +1 -1
@@ -28,7 +28,7 @@ OPTIONS ======= .. include:: common_osnoise_options.rst -.. include:: common_top_options.rst +.. include:: common_top_options.txt .. include:: common_options.txt
Documentation/tools/rtla/rtla-timerlat-top.rst +1 -1
@@ -28,7 +28,7 @@ OPTIONS .. include:: common_timerlat_options.txt -.. include:: common_top_options.rst +.. include:: common_top_options.txt .. include:: common_options.txt
Signature · 1 line
2.43.0
Re: [PATCH 7/8] Documentation/rtla: rename common_top_options.rst
Quoted 8 lines · Gopi Krishna Menon
common_top_options.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_top_options.rstto common_top_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 8/8 Documentation/rtla: rename common_osnoise_options.rst
In reply to Gopi Krishna Menoncommon_osnoise_options.rst is intended to be included by other rtla documents and is not meant to be built as a standalone document.
Rename common_osnoise_options.rst to common_osnoise_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
---
.../{common_osnoise_options.rst => common_osnoise_options.txt} | 0
Documentation/tools/rtla/rtla-hwnoise.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-hist.rst | 2 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
rename Documentation/tools/rtla/{common_osnoise_options.rst => common_osnoise_options.txt} (100%)Documentation/tools/rtla/common_osnoise_options.txt renamed from Documentation/tools/rtla/common_osnoise_options.rst +0 -0
Documentation/tools/rtla/rtla-hwnoise.rst +1 -1
@@ -29,7 +29,7 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt .. include:: common_top_options.txt
Documentation/tools/rtla/rtla-osnoise-hist.rst +1 -1
@@ -24,7 +24,7 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt .. include:: common_hist_options.txt
Documentation/tools/rtla/rtla-osnoise-top.rst +1 -1
@@ -26,7 +26,7 @@ collection of the tracer output. OPTIONS ======= -.. include:: common_osnoise_options.rst +.. include:: common_osnoise_options.txt .. include:: common_top_options.txt
Signature · 1 line
2.43.0
Re: [PATCH 8/8] Documentation/rtla: rename common_osnoise_options.rst
Quoted 8 lines · Gopi Krishna Menon
common_osnoise_options.rstis intended to be included by other rtla documents and is not meant to be built as a standalone document.Rename
common_osnoise_options.rstto common_osnoise_options.txt to maintain consistency with other common_*.txt files and prevent Sphinx from building it as a standalone document. Update all include references accordingly.
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara