Re: [XEN PATCH v4 2/3] build: replace get-fields.sh by a python script

2023-01-20 Thread Andrew Cooper
On 19/01/2023 3:22 pm, Anthony PERARD wrote: > The get-fields.sh which generate all the include/compat/.xlat/*.h > headers is quite slow. It takes for example nearly 3 seconds to > generate platform.h on a recent machine, or 2.3 seconds for memory.h. > > Rewriting the mix of shell/sed/python into a

[XEN PATCH v4 2/3] build: replace get-fields.sh by a python script

2023-01-19 Thread Anthony PERARD
The get-fields.sh which generate all the include/compat/.xlat/*.h headers is quite slow. It takes for example nearly 3 seconds to generate platform.h on a recent machine, or 2.3 seconds for memory.h. Rewriting the mix of shell/sed/python into a single python script make the generation of those fil