mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
trace: fix tcg tracing build breakage
Commit 0ab8ed18a6
("trace: switch to
modular code generation for sub-directories") forgot to convert "tcg"
trace events to the modular code generation approach where each
sub-directory has its own trace-events file.
This patch fixes compilation for "tcg" trace events. Currently they are
only used in the root ./trace-events file.
"tcg" trace events can only be used in the root ./trace-events file for
the time being.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20170327131718.18268-1-stefanha@redhat.com
Suggested-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
eb06c9e2d3
commit
7609ffb919
4 changed files with 13 additions and 8 deletions
|
@ -55,6 +55,7 @@ def generate(events, backend, group):
|
|||
'#include "qemu-common.h"',
|
||||
'#include "cpu.h"',
|
||||
'#include "exec/helper-proto.h"',
|
||||
'#include "%s"' % header,
|
||||
'',
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue