Re: [PATCH] tracetool: use relative paths for '#line' preprocessor directives

2023-04-11 Thread Philippe Mathieu-Daudé
On 6/4/23 10:00, Thomas De Schampheleire wrote: The event filename is an absolute path. Convert it to a relative path when writing '#line' directives, to preserve reproducibility of the generated output when different base paths are used. Signed-off-by: Thomas De Schampheleire --- scripts/tra

Re: [PATCH] tracetool: use relative paths for '#line' preprocessor directives

2023-04-09 Thread Stefan Hajnoczi
On Thu, 6 Apr 2023 at 09:22, Thomas De Schampheleire wrote: > > The event filename is an absolute path. Convert it to a relative path when > writing '#line' directives, to preserve reproducibility of the generated > output when different base paths are used. > > Signed-off-by: Thomas De Schamphele

[PATCH] tracetool: use relative paths for '#line' preprocessor directives

2023-04-06 Thread Thomas De Schampheleire
The event filename is an absolute path. Convert it to a relative path when writing '#line' directives, to preserve reproducibility of the generated output when different base paths are used. Signed-off-by: Thomas De Schampheleire --- scripts/tracetool/backend/ftrace.py | 4 +++- scripts/tracetoo