mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -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
11
trace/stderr.h
Normal file
11
trace/stderr.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef TRACE_STDERR_H
|
||||
#define TRACE_STDERR_H
|
||||
|
||||
typedef uint64_t TraceEventID;
|
||||
|
||||
typedef struct {
|
||||
const char *tp_name;
|
||||
bool state;
|
||||
} TraceEvent;
|
||||
|
||||
#endif /* ! TRACE_STDERR_H */
|
Loading…
Add table
Add a link
Reference in a new issue