diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-09-22 10:37:05 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-09-26 10:07:54 +0100 |
commit | bba94f7876436b798a87894d2e9886429ccda446 (patch) | |
tree | 899022577d87a54ddeb9e982cb9588c69149bfd3 /scripts/qapi/parser.py | |
parent | 992fe17bd7e9648e9e79eb72826eff26a660bb1b (diff) | |
download | qemu-bba94f7876436b798a87894d2e9886429ccda446.zip qemu-bba94f7876436b798a87894d2e9886429ccda446.tar.gz qemu-bba94f7876436b798a87894d2e9886429ccda446.tar.bz2 |
contrib/plugins/uftrace: implement tracing
We implement tracing, following uftrace format.
Trace is flushed every 32 MB, so file operations don't impact
performance at runtime.
A different trace is generated per cpu, and we ensure they have a unique
name, based on vcpu_index, while keeping room for privilege level coming
in next commit.
Uftrace format is not officially documented, but it can be found here:
https://github.com/namhyung/uftrace/blob/v0.18/libmcount/record.c#L909
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250902075042.223990-5-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250922093711.2768983-21-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions