mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
trace: [stderr] add support for dynamically enabling/disabling events
Uses the generic interface provided in "trace/control.h" in order to provide a programmatic interface as well as command line and monitor controls. Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
This commit is contained in:
parent
03727e6a06
commit
9a82b6a590
7 changed files with 81 additions and 11 deletions
|
@ -178,11 +178,6 @@ effectively turns trace events into debug printfs.
|
|||
This is the simplest backend and can be used together with existing code that
|
||||
uses DPRINTF().
|
||||
|
||||
Note that with this backend trace events cannot be programmatically
|
||||
enabled/disabled. Thus, in order to trim down the amount of output and the
|
||||
performance impact of tracing, you might want to add the "disable" property in
|
||||
the "trace-events" file for those events you are not interested in.
|
||||
|
||||
=== Simpletrace ===
|
||||
|
||||
The "simple" backend supports common use cases and comes as part of the QEMU
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue