From: Andrea Cervesato <andrea.cervesato@suse.de>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v3] doc: update syscalls statistics
Date: Tue, 23 Apr 2024 10:21:19 +0200 [thread overview]
Message-ID: <20240423082119.16117-1-andrea.cervesato@suse.de> (raw)
From: Andrea Cervesato <andrea.cervesato@suse.com>
This patch black-list a few syscalls which are not implemented in the
kernel, untestable or either really old (=< 2.6 kernel version), as well
as defining already tested syscalls.
Also fixed an index issue with table generation.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
doc/conf.py | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)
diff --git a/doc/conf.py b/doc/conf.py
index 9408ee46e..d0f185b28 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -76,14 +76,31 @@ def generate_syscalls_stats(_):
'io_uring_register',
'epoll_pwait2',
'quotactl_fd',
+ 'pread64',
+ 'pwrite64',
+ 'fadvise64',
+ 'getmsg',
+ 'getpmsg',
+ 'putmsg',
+ 'putpmsg',
]
- # populate with non-syscalls which are present in the kernel sources
- # syscalls file
+ # populate with not implemented, reserved, unmaintained syscalls defined
+ # inside the syscalls file
black_list = [
'reserved177',
'reserved193',
- 'rseq'
+ 'rseq',
+ '_newselect',
+ '_sysctl',
+ 'create_module',
+ 'get_kernel_syms',
+ 'query_module',
+ 'nfsservctl',
+ 'afs_syscall',
+ 'sysmips',
+ 'mq_getsetattr',
+ 'vserver',
]
# fetch syscalls file
@@ -184,12 +201,12 @@ def generate_syscalls_stats(_):
left = index_tested % 3
if left > 0:
- for index in range(0, left + 1):
+ for index in range(0, 3 - left):
table_tested.append(f' -\n')
left = index_untest % 3
if left > 0:
- for index in range(0, left + 1):
+ for index in range(0, 3 - left):
table_untest.append(f' -\n')
text.extend(table_tested)
--
2.35.3
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2024-04-23 8:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 8:21 Andrea Cervesato [this message]
2024-04-25 21:37 ` [LTP] [PATCH v3] doc: update syscalls statistics Petr Vorel
2024-04-26 10:29 ` Andrea Cervesato via ltp
2024-04-26 10:32 ` Andrea Cervesato via ltp
2024-04-26 18:22 ` Petr Vorel
2024-04-26 18:17 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240423082119.16117-1-andrea.cervesato@suse.de \
--to=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).