Skip to content

Commit

Permalink
trace: remove duplicate control.h includes in generated-tracers.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
berrange authored and stefanhaRH committed Oct 12, 2016
1 parent 9397740 commit 99672c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion scripts/tracetool/backend/ftrace.py
Expand Up @@ -21,7 +21,6 @@

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


Expand Down
3 changes: 1 addition & 2 deletions scripts/tracetool/backend/log.py
Expand Up @@ -20,8 +20,7 @@


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


Expand Down
1 change: 0 additions & 1 deletion scripts/tracetool/backend/syslog.py
Expand Up @@ -21,7 +21,6 @@

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


Expand Down

0 comments on commit 99672c7

Please sign in to comment.