[LTP] [PATCH 2/2] doc: Rename statistics page to 'Supported syscalls'
Sachin Sant
sachinp@linux.ibm.com
Fri Apr 24 14:18:45 CEST 2026
Rename the documentation page from 'Statistics' to 'Supported syscalls'
to better reflect its content, which focuses on syscall coverage.
- Renamed doc/users/stats.rst to doc/users/supported_syscalls.rst
- Updated page title and description
- Updated references in doc/index.rst
- Updated spelling exclusion pattern in doc/conf.py
- Renamed function definition from generate_syscalls_stats to
generate_supported_syscalls
- Updated app.connect() call to use the new function name
Cc: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Sachin Sant <sachinp@linux.ibm.com>
---
doc/conf.py | 13 +++++++------
doc/index.rst | 6 +++---
doc/users/stats.rst | 9 ---------
doc/users/supported_syscalls.rst | 9 +++++++++
4 files changed, 19 insertions(+), 18 deletions(-)
delete mode 100644 doc/users/stats.rst
create mode 100644 doc/users/supported_syscalls.rst
diff --git a/doc/conf.py b/doc/conf.py
index 6d470d0d0..1be8fcae5 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -56,7 +56,7 @@ manpages_url = 'https://man7.org/linux/man-pages/man{section}/{page}.{section}.h
spelling_lang = "en_US"
spelling_warning = True
-spelling_exclude_patterns = ['users/stats.rst']
+spelling_exclude_patterns = ['users/supported_syscalls.rst']
spelling_word_list_filename = "spelling_wordlist"
# -- Options for HTML output -------------------------------------------------
@@ -66,11 +66,12 @@ html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
-def generate_syscalls_stats(_):
+def generate_supported_syscalls(_):
"""
- Generate statistics for syscalls. We fetch the syscalls list from the kernel
- sources, then we compare it with testcases/kernel/syscalls folder and
- generate a file that is included in the statistics documentation section.
+ Generate supported syscalls documentation. We fetch the syscalls list from
+ the kernel sources, then we compare it with testcases/kernel/syscalls folder
+ and generate a file that is included in the supported syscalls documentation
+ section.
"""
output = '_static/syscalls.rst'
@@ -668,6 +669,6 @@ def setup(app):
customizations.
"""
app.add_css_file('custom.css')
- app.connect('builder-inited', generate_syscalls_stats)
+ app.connect('builder-inited', generate_supported_syscalls)
app.connect('builder-inited', generate_cve_catalog)
app.connect('builder-inited', generate_test_catalog)
diff --git a/doc/index.rst b/doc/index.rst
index 733495f51..f80ca4be1 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -11,7 +11,7 @@
users/setup_tests
users/testers_guide
users/supported_systems
- users/stats
+ users/supported_syscalls
users/cve_catalog
users/test_catalog
@@ -56,8 +56,8 @@ For users
:doc:`users/supported_systems`
A list of supported technologies by the LTP framework
-:doc:`users/stats`
- Some LTP statistics
+:doc:`users/supported_syscalls`
+ Syscalls supported by LTP tests
:doc:`users/cve_catalog`
LTP reproducers for known CVEs
diff --git a/doc/users/stats.rst b/doc/users/stats.rst
deleted file mode 100644
index 7073442aa..000000000
--- a/doc/users/stats.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-.. SPDX-License-Identifier: GPL-2.0-or-later
-
-Statistics
-==========
-
-In this section we collect some statistics related to the current state of
-LTP tests.
-
-.. include:: ../_static/syscalls.rst
diff --git a/doc/users/supported_syscalls.rst b/doc/users/supported_syscalls.rst
new file mode 100644
index 000000000..6914852c6
--- /dev/null
+++ b/doc/users/supported_syscalls.rst
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0-or-later
+
+Supported syscalls
+==================
+
+In this section we collect information about syscalls that are currently
+tested by LTP.
+
+.. include:: ../_static/syscalls.rst
--
2.39.1
More information about the ltp
mailing list