trace: [tcg] Generate TCG tracing routines
Generate header "trace/generated-tcg-tracers.h" with the necessary routines for
tracing events in guest code:
* trace_${event}_tcg
Convenience wrapper that calls the translation-time tracer
'trace_${event}_trans', and calls 'gen_helper_trace_${event}_exec to
generate the TCG code to later trace the event at execution time.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
76b53aa324
commit
465830fbd9
5 changed files with 76 additions and 0 deletions
7
include/trace-tcg.h
Normal file
7
include/trace-tcg.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef TRACE_TCG_H
|
||||
#define TRACE_TCG_H
|
||||
|
||||
#include "trace/generated-tcg-tracers.h"
|
||||
#include "trace/generated-events.h"
|
||||
|
||||
#endif /* TRACE_TCG_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue