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>
This commit is contained in:
Daniel P. Berrange 2016-10-04 14:35:46 +01:00 committed by Stefan Hajnoczi
parent 9397740244
commit 99672c7167
3 changed files with 1 additions and 4 deletions

View File

@ -21,7 +21,6 @@ PUBLIC = True
def generate_h_begin(events): def generate_h_begin(events):
out('#include "trace/ftrace.h"', out('#include "trace/ftrace.h"',
'#include "trace/control.h"',
'') '')

View File

@ -20,8 +20,7 @@ PUBLIC = True
def generate_h_begin(events): def generate_h_begin(events):
out('#include "trace/control.h"', out('#include "qemu/log.h"',
'#include "qemu/log.h"',
'') '')

View File

@ -21,7 +21,6 @@ PUBLIC = True
def generate_h_begin(events): def generate_h_begin(events):
out('#include <syslog.h>', out('#include <syslog.h>',
'#include "trace/control.h"',
'') '')