Commit 99672c71 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé Committed by Stefan Hajnoczi
Browse files

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: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarLluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
Message-id: 1475588159-30598-8-git-send-email-berrange@redhat.com
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 93977402
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ PUBLIC = True

def generate_h_begin(events):
    out('#include "trace/ftrace.h"',
        '#include "trace/control.h"',
        '')


+1 −2
Original line number Diff line number Diff line
@@ -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"',
        '')


+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ PUBLIC = True

def generate_h_begin(events):
    out('#include <syslog.h>',
        '#include "trace/control.h"',
        '')