mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
If we listen to the uevents from the kernel, we can detect when the GPU hangs. This requires us to fork a helper process to do so and send a signal back to the parent. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
35 lines
728 B
Makefile
35 lines
728 B
Makefile
IGT_LIB_PATH := $(builddir)
|
|
GPU_TOOLS_PATH := $(top_srcdir)
|
|
|
|
SUBDIRS = . tests
|
|
|
|
include Makefile.sources
|
|
|
|
noinst_LTLIBRARIES = libintel_tools.la
|
|
noinst_HEADERS = check-ndebug.h
|
|
|
|
if HAVE_VC4
|
|
libintel_tools_la_SOURCES += \
|
|
igt_vc4.c \
|
|
igt_vc4.h
|
|
endif
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
|
AM_CFLAGS = $(CWARNFLAGS) $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(LIBUNWIND_CFLAGS) $(DEBUG_CFLAGS) \
|
|
-DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \
|
|
-DIGT_DATADIR=\""$(pkgdatadir)"\" \
|
|
-DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \
|
|
-pthread
|
|
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
|
|
libintel_tools_la_LIBADD = \
|
|
$(DRM_LIBS) \
|
|
$(PCIACCESS_LIBS) \
|
|
$(CAIRO_LIBS) \
|
|
$(LIBUDEV_LIBS) \
|
|
$(LIBUNWIND_LIBS) \
|
|
$(TIMER_LIBS) \
|
|
-lm
|
|
|