diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-10-04 14:35:46 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-10-12 09:35:54 +0200 |
commit | 99672c7167cdee40e7d81e3c8b691b19ae408816 (patch) | |
tree | bad386aa694a75f7af61b1335447583dfb095c62 | |
parent | 93977402441405055500ff0389b49f6bbac9d50b (diff) | |
download | qemu-99672c7167cdee40e7d81e3c8b691b19ae408816.zip qemu-99672c7167cdee40e7d81e3c8b691b19ae408816.tar.gz qemu-99672c7167cdee40e7d81e3c8b691b19ae408816.tar.bz2 |
trace: remove duplicate control.h includes in generated-tracers.h
The format/h.py file adds an include for control.h to
generated-tracers.h. ftrace, log and syslog, then
add more duplicate includes for control.h.
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-8-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | scripts/tracetool/backend/ftrace.py | 1 | ||||
-rw-r--r-- | scripts/tracetool/backend/log.py | 3 | ||||
-rw-r--r-- | scripts/tracetool/backend/syslog.py | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/scripts/tracetool/backend/ftrace.py b/scripts/tracetool/backend/ftrace.py index 80dcf30..4b83b44 100644 --- a/scripts/tracetool/backend/ftrace.py +++ b/scripts/tracetool/backend/ftrace.py @@ -21,7 +21,6 @@ PUBLIC = True def generate_h_begin(events): out('#include "trace/ftrace.h"', - '#include "trace/control.h"', '') diff --git a/scripts/tracetool/backend/log.py b/scripts/tracetool/backend/log.py index b3ff064..426bb6e 100644 --- a/scripts/tracetool/backend/log.py +++ b/scripts/tracetool/backend/log.py @@ -20,8 +20,7 @@ PUBLIC = True def generate_h_begin(events): - out('#include "trace/control.h"', - '#include "qemu/log.h"', + out('#include "qemu/log.h"', '') diff --git a/scripts/tracetool/backend/syslog.py b/scripts/tracetool/backend/syslog.py index 89019bc..5f693bd 100644 --- a/scripts/tracetool/backend/syslog.py +++ b/scripts/tracetool/backend/syslog.py @@ -21,7 +21,6 @@ PUBLIC = True def generate_h_begin(events): out('#include <syslog.h>', - '#include "trace/control.h"', '') |