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:
parent
9397740244
commit
99672c7167
@ -21,7 +21,6 @@ PUBLIC = True
|
||||
|
||||
def generate_h_begin(events):
|
||||
out('#include "trace/ftrace.h"',
|
||||
'#include "trace/control.h"',
|
||||
'')
|
||||
|
||||
|
||||
|
@ -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"',
|
||||
'')
|
||||
|
||||
|
||||
|
@ -21,7 +21,6 @@ PUBLIC = True
|
||||
|
||||
def generate_h_begin(events):
|
||||
out('#include <syslog.h>',
|
||||
'#include "trace/control.h"',
|
||||
'')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user