From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: Andrea Cervesato <andrea.cervesato@suse.de>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] doc: update syscalls statistics
Date: Mon, 22 Apr 2024 15:43:09 +0200 [thread overview]
Message-ID: <5333232b-0f28-4508-8197-fffb987790ae@suse.com> (raw)
In-Reply-To: <20240422124627.26479-1-andrea.cervesato@suse.de>
Hi,
please ignore this one and take in consideration the v2. It has a couple
of more syscalls into black-list.
Andrea
On 4/22/24 14:46, Andrea Cervesato wrote:
> 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 | 23 ++++++++++++++++++-----
> 1 file changed, 18 insertions(+), 5 deletions(-)
>
> diff --git a/doc/conf.py b/doc/conf.py
> index 9408ee46e..810dfe5c6 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -76,14 +76,27 @@ def generate_syscalls_stats(_):
> 'io_uring_register',
> 'epoll_pwait2',
> 'quotactl_fd',
> + 'pread64',
> + 'pwrite64',
> + 'fadvise64',
> ]
>
> - # 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 +197,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)
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-04-22 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 12:46 [LTP] [PATCH v1] doc: update syscalls statistics Andrea Cervesato
2024-04-22 13:43 ` Andrea Cervesato via ltp [this message]
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=5333232b-0f28-4508-8197-fffb987790ae@suse.com \
--to=ltp@lists.linux.it \
--cc=andrea.cervesato@suse.com \
--cc=andrea.cervesato@suse.de \
/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).