diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-09-22 10:37:07 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-09-26 10:07:54 +0100 |
commit | 727874759566fcec4c52d103f1abc4f4d409e583 (patch) | |
tree | 37e3a39dfad75f32119ec5916ff68f6c312769f1 /scripts/qapi/parser.py | |
parent | 308c20108a476722d49d9e463d81662b0722bc40 (diff) | |
download | qemu-727874759566fcec4c52d103f1abc4f4d409e583.zip qemu-727874759566fcec4c52d103f1abc4f4d409e583.tar.gz qemu-727874759566fcec4c52d103f1abc4f4d409e583.tar.bz2 |
contrib/plugins/uftrace: generate additional files for uftrace
Beyond traces per cpu, uftrace expect to find some specific files.
- info: contains information about machine/program run
those values are not impacting uftrace behaviour (only reported by
uftrace info), and we simply added empty strings.
- memory mapping: how every binary is mapped in memory. For system mode,
we generate an empty mapping (uftrace_symbols.py, coming in future
commit, will take care of that). For user mode, we copy current
/proc/self/maps. We don't need to do any special filtering, as
reported addresses will necessarily concern guest program, and not
QEMU and its libraries.
- task: list of tasks. We present every vcpu/privilege level as a
separate process, as it's the best view we can have when generating a
(visual) chrome trace. Using threads is less convenient in terms of
UI.
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20250902075042.223990-7-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250922093711.2768983-23-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions