All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v6 0/3] Automatically generate syscalls.h
Date: Thu, 31 Oct 2024 10:56:09 +0100	[thread overview]
Message-ID: <20241031095609.GC995052@pevik> (raw)
In-Reply-To: <20241031-generate_syscalls-v6-0-1ad86a33ce2d@suse.com>

Hi Andrea,

> The problem we have at the moment is that all syscalls input files must
> be changed by hand each time we need to test a new syscall. The idea is
> to simplify this process, providing a script that is able to read from
> kernel sources and to generate all syscalls files we need.

> This patch set adds a new command inside the syscalls folder and
> it refactors the previous regen.sh code.
> The new way we have to generate the syscalls.h file is the following:

> 	include/lapi/syscalls/generate_arch.sh 		path/to/kernel/source
> 	include/lapi/syscalls/generate_syscalls.sh 	path/to/syscalls.h

> Scripts are independent and they can be run separately.
> generate_syscalls.sh is the equivalent of regen.sh, but its code has
> been cleaned up.

it would be nice to have this documented (as a separate effort, not blocking
to merge this). Specially the new generate_arch.sh, which is not part of
./configure run.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2024-10-31  9:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31  7:27 [LTP] [PATCH v6 0/3] Automatically generate syscalls.h Andrea Cervesato
2024-10-31  7:27 ` [LTP] [PATCH v6 1/3] Refactor regen.sh script to generate syscalls Andrea Cervesato
2024-10-31  9:49   ` Petr Vorel
2024-10-31 10:28     ` Cyril Hrubis
2024-10-31 10:37       ` Andrea Cervesato via ltp
2024-10-31 11:35         ` Cyril Hrubis
2024-10-31 11:02       ` Andrea Cervesato via ltp
2024-10-31 11:17       ` Petr Vorel
2024-10-31 12:19         ` Cyril Hrubis
2024-10-31 12:25           ` Andrea Cervesato via ltp
2024-10-31 10:25   ` Cyril Hrubis
2024-10-31 10:31     ` Cyril Hrubis
2024-10-31  7:27 ` [LTP] [PATCH v6 2/3] Add script to generate arch(s) dependant syscalls Andrea Cervesato
2024-10-31  7:27 ` [LTP] [PATCH v6 3/3] Delete obsolete strip_syscall.awk file Andrea Cervesato
2024-10-31  9:56 ` Petr Vorel [this message]
2024-10-31 10:02   ` [LTP] [PATCH v6 0/3] Automatically generate syscalls.h Cyril Hrubis

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=20241031095609.GC995052@pevik \
    --to=pvorel@suse.cz \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.