diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-10-04 14:35:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-10-12 09:54:52 +0200 |
commit | 347701879ceaa9a03093364bc519042b248b4967 (patch) | |
tree | 7609931af2432433c99716e3d0425a3979226765 /include | |
parent | ca3fa0e88f3a8e22f774751bcb10cc205772c2fc (diff) | |
download | qemu-347701879ceaa9a03093364bc519042b248b4967.zip qemu-347701879ceaa9a03093364bc519042b248b4967.tar.gz qemu-347701879ceaa9a03093364bc519042b248b4967.tar.bz2 |
trace: get rid of generated-events.h/generated-events.c
Currently the generated-events.[ch] files contain the
event dstates, constants and TraceEvent structs, while the
generated-tracers.[ch] files contain the actual trace
probe logic. With the removal of usage of the event enums
from the API there is no longer any compelling reason for
the separation between these files. The generated-events.h
content is only ever needed from the generated-tracers.[ch]
files.
The enums/constants/structs from generated-events.[ch] are
thus moved into the generated-tracers.[ch], so that there
is one less file to be generated.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: LluĂs Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475588159-30598-17-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/trace-tcg.h | 1 | ||||
-rw-r--r-- | include/trace.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/trace-tcg.h b/include/trace-tcg.h index edab4b1..da68608 100644 --- a/include/trace-tcg.h +++ b/include/trace-tcg.h @@ -2,6 +2,5 @@ #define TRACE_TCG_H #include "trace/generated-tcg-tracers.h" -#include "trace/generated-events.h" #endif /* TRACE_TCG_H */ diff --git a/include/trace.h b/include/trace.h index 9a01e44..ac9ff3d 100644 --- a/include/trace.h +++ b/include/trace.h @@ -2,6 +2,5 @@ #define TRACE_H #include "trace/generated-tracers.h" -#include "trace/generated-events.h" #endif /* TRACE_H */ |