trace_point: fix: move header file to events

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
This commit is contained in:
Han Gao
2024-05-07 12:34:17 +00:00
committed by Han Gao
parent 0bc9468e57
commit 76b3ac7dce
6 changed files with 213 additions and 10 deletions

View File

@@ -64,11 +64,11 @@ EXTRA_CFLAGS += $(DEBFLAGS)
# EXTRA_CFLAGS += -DDYNAMIC_MALLOC_VCMDNODE
#adapt for andriod $src is where this dir.
ifeq ($(CONFIG_ANDROID), y)
ccflags-y += -DTRACE_INCLUDE_PATH=$(src)
else
ccflags-y += -DTRACE_INCLUDE_PATH=$(PWD)
endif
#ifeq ($(CONFIG_ANDROID), y)
#ccflags-y += -DTRACE_INCLUDE_PATH=$(src)
#else
#ccflags-y += -DTRACE_INCLUDE_PATH=$(PWD)
#endif
ifneq ($(KERNELRELEASE),)
# recursive call from kernel build system

View File

@@ -109,11 +109,11 @@ endif
CC += -I$(obj)
EXTRA_CFLAGS += -g
ifeq ($(CONFIG_ANDROID), y)
ccflags-y += -DTRACE_INCLUDE_PATH=$(src)
else
ccflags-y += -DTRACE_INCLUDE_PATH=$(PWD)
endif
#ifeq ($(CONFIG_ANDROID), y)
#ccflags-y += -DTRACE_INCLUDE_PATH=$(src)
#else
#ccflags-y += -DTRACE_INCLUDE_PATH=$(PWD)
#endif
# Print debugging messages from the device
#EXTRA_CFLAGS += -DHANTRO_DRIVER_DEBUG