summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index 44f136c..19f6930 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -47,6 +47,12 @@
#if IS_ENABLED(CONFIG_GOOG_TOUCH_INTERFACE)
#include <goog_touch_interface.h>
#endif
+#if IS_ENABLED(CONFIG_VH_SYSTRACE)
+#include <trace/hooks/systrace.h>
+#else
+#define ATRACE_BEGIN(f)
+#define ATRACE_END()
+#endif
#define GOODIX_CORE_DRIVER_NAME "goodix_ts"
#define GOODIX_PEN_DRIVER_NAME "goodix_ts,pen"