Features/Tracing: Difference between revisions

From QEMU
No edit summary
m (Update documentation link)
Line 27: Line 27:


== Links ==
== Links ==
* {{src|path=docs/tracing.txt|description=User documentation}}
* {{src|path=docs/devel/tracing.txt|description=User documentation}}
* [[Features/Tracing/Roadmap|Roadmap]]
* [[Features/Tracing/Roadmap|Roadmap]]
* William Cohen's [https://github.com/wcohen/qemu_systemtap SystemTap scripts for QEMU]
* William Cohen's [https://github.com/wcohen/qemu_systemtap SystemTap scripts for QEMU]


[[Category:Completed feature pages]]
[[Category:Completed feature pages]]

Revision as of 12:41, 16 June 2017

Summary

Tracing aids debugging and performance analysis with a set of light-weight events throughout QEMU that are logged when hit.

Owner

Description

Light-weight logging at points of interest inside QEMU can improve common debugging and performance analysis tasks. Currently the QEMU community has to rely on debuggers, which may be invasive and slow, or printfs, which are not suited for high-frequency logging.

Tracing addresses these observability shortcomings with an easily extended set of trace events in QEMU that can be enabled/disable at runtime.

Status

Tracing support is available in qemu.git for several backends:

  • SystemTap
  • LTTng Userspace Tracer
  • 'simple' built-in backend
  • stderr

Git repository:

http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing

Links