trace: use local path for local headers
When pulling in headers that are in the same directory as the C file (as opposed to one in include/), we should use its relative path, without a directory. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
83ee768d62
commit
a322714248
@ -267,6 +267,6 @@ char *trace_opt_parse(const char *optarg);
|
|||||||
uint32_t trace_get_vcpu_event_count(void);
|
uint32_t trace_get_vcpu_event_count(void);
|
||||||
|
|
||||||
|
|
||||||
#include "trace/control-internal.h"
|
#include "control-internal.h"
|
||||||
|
|
||||||
#endif /* TRACE__CONTROL_H */
|
#endif /* TRACE__CONTROL_H */
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qapi/qapi-commands-trace.h"
|
#include "qapi/qapi-commands-trace.h"
|
||||||
#include "trace/control.h"
|
#include "control.h"
|
||||||
|
|
||||||
|
|
||||||
static CPUState *get_cpu(bool has_vcpu, int vcpu, Error **errp)
|
static CPUState *get_cpu(bool has_vcpu, int vcpu, Error **errp)
|
||||||
|
Loading…
Reference in New Issue
Block a user