Revision eac236ea scripts/tracetool/format/h.py

b/scripts/tracetool/format/h.py
19 19
def begin(events):
20 20
    out('/* This file is autogenerated by tracetool, do not edit. */',
21 21
        '',
22
        '#ifndef TRACE_H',
23
        '#define TRACE_H',
22
        '#ifndef TRACE__GENERATED_TRACERS_H',
23
        '#define TRACE__GENERATED_TRACERS_H',
24 24
        '',
25 25
        '#include "qemu-common.h"')
26 26

  
......
32 32
            enabled = 1
33 33
        out('#define TRACE_%s_ENABLED %d' % (e.name.upper(), enabled))
34 34
    out('',
35
        '#endif /* TRACE_H */')
35
        '#endif /* TRACE__GENERATED_TRACERS_H */')
36 36

  
37 37
def nop(events):
38 38
    for e in events:

Also available in: Unified diff