summary refs log tree commit diff stats
path: root/docs/devel/codebase.rst
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-09-22 10:37:07 +0100
committerAlex Bennée <alex.bennee@linaro.org>2025-09-26 10:07:54 +0100
commit727874759566fcec4c52d103f1abc4f4d409e583 (patch)
tree37e3a39dfad75f32119ec5916ff68f6c312769f1 /docs/devel/codebase.rst
parent308c20108a476722d49d9e463d81662b0722bc40 (diff)
downloadfocaccia-qemu-727874759566fcec4c52d103f1abc4f4d409e583.tar.gz
focaccia-qemu-727874759566fcec4c52d103f1abc4f4d409e583.zip
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 'docs/devel/codebase.rst')
0 files changed, 0 insertions, 0 deletions