qed: Simplify request handling
[qemu/kevin.git] / trace / Makefile.objs
blobafd571c3ecc4b8ee259adac3c43b16aac4fc4604
1 # -*- mode: makefile -*-
3 $(BUILD_DIR)/trace-events-all: $(trace-events-files)
4         $(call quiet-command,cat $^ > $@)
7 ##################################################
8 # Translation level
10 $(obj)/generated-helpers-wrappers.h: $(obj)/generated-helpers-wrappers.h-timestamp
11         @cmp $< $@ >/dev/null 2>&1 || cp $< $@
12 $(obj)/generated-helpers-wrappers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y)
13         $(call quiet-command,$(TRACETOOL) \
14                 --group=root \
15                 --format=tcg-helper-wrapper-h \
16                 --backend=$(TRACE_BACKENDS) \
17                 $< > $@,"GEN","$(patsubst %-timestamp,%,$@)")
19 $(obj)/generated-helpers.h: $(obj)/generated-helpers.h-timestamp
20         @cmp $< $@ >/dev/null 2>&1 || cp $< $@
21 $(obj)/generated-helpers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y)
22         $(call quiet-command,$(TRACETOOL) \
23                 --group=root \
24                 --format=tcg-helper-h \
25                 --backend=$(TRACE_BACKENDS) \
26                 $< > $@,"GEN","$(patsubst %-timestamp,%,$@)")
28 $(obj)/generated-helpers.c: $(obj)/generated-helpers.c-timestamp
29         @cmp $< $@ >/dev/null 2>&1 || cp $< $@
30 $(obj)/generated-helpers.c-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y)
31         $(call quiet-command,$(TRACETOOL) \
32                 --group=root \
33                 --format=tcg-helper-c \
34                 --backend=$(TRACE_BACKENDS) \
35                 $< > $@,"GEN","$(patsubst %-timestamp,%,$@)")
37 $(obj)/generated-helpers.o: $(obj)/generated-helpers.c
39 target-obj-y += generated-helpers.o
42 $(obj)/generated-tcg-tracers.h: $(obj)/generated-tcg-tracers.h-timestamp
43         @cmp $< $@ >/dev/null 2>&1 || cp $< $@
44 $(obj)/generated-tcg-tracers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(tracetool-y)
45         $(call quiet-command,$(TRACETOOL) \
46                 --group=root \
47                 --format=tcg-h \
48                 --backend=$(TRACE_BACKENDS) \
49                 $< > $@,"GEN","$(patsubst %-timestamp,%,$@)")
52 ######################################################################
53 # Backend code
55 util-obj-$(CONFIG_TRACE_SIMPLE) += simple.o
56 util-obj-$(CONFIG_TRACE_FTRACE) += ftrace.o
57 util-obj-y += control.o
58 target-obj-y += control-target.o
59 util-obj-y += qmp.o