diff options
| author | Lluís Vilanova | 2014-05-30 14:12:13 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-08-12 15:26:12 +0200 |
| commit | 465830fbd9be22995b34d7b3f8cd35572e1f8a36 (patch) | |
| tree | 7e391213bdc5e2b018c7fdff5b0a87d23bada6a8 /include | |
| parent | trace: [tcg] Include TCG-tracing helpers (diff) | |
| download | qemu-465830fbd9be22995b34d7b3f8cd35572e1f8a36.tar.gz qemu-465830fbd9be22995b34d7b3f8cd35572e1f8a36.tar.xz qemu-465830fbd9be22995b34d7b3f8cd35572e1f8a36.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/trace-tcg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/trace-tcg.h b/include/trace-tcg.h new file mode 100644 index 0000000000..6f6bdbb44a --- /dev/null +++ b/include/trace-tcg.h @@ -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 */ |
