mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 14:56:18 +00:00
This reads the GPU's performance counters via MI_REPORT_PERF_COUNT and prints them in a top-style interface. While it can be useful in and of itself, it also documents the performance counters and lets us verify that they're working. Currently, it only supports Ironlake. v2 [Ken]: Rebase on master and fix compilation failures; make it abort on non-Ironlake platforms to avoid GPU hangs; rename from 'chaps' to intel_perf_counters since that acronym isn't used any longer; write the above commit message. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
if HAVE_DUMPER
|
|
SUBDIRS = quick_dump
|
|
endif
|
|
|
|
bin_PROGRAMS = \
|
|
intel_disable_clock_gating \
|
|
intel_audio_dump \
|
|
intel_backlight \
|
|
intel_bios_dumper \
|
|
intel_bios_reader \
|
|
intel_error_decode \
|
|
intel_gpu_top \
|
|
intel_gpu_time \
|
|
intel_gtt \
|
|
intel_perf_counters \
|
|
intel_stepping \
|
|
intel_reg_checker \
|
|
intel_reg_dumper \
|
|
intel_reg_snapshot \
|
|
intel_reg_write \
|
|
intel_reg_read \
|
|
intel_forcewaked \
|
|
intel_dpio_read \
|
|
intel_dpio_write \
|
|
intel_l3_parity
|
|
|
|
noinst_PROGRAMS = \
|
|
intel_dump_decode \
|
|
intel_infoframes \
|
|
intel_lid \
|
|
intel_panel_fitter
|
|
|
|
dist_bin_SCRIPTS = intel_gpu_abrt
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib
|
|
AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) $(CAIRO_CFLAGS)
|
|
LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS)
|
|
|
|
intel_dump_decode_SOURCES = \
|
|
intel_dump_decode.c
|
|
|
|
intel_error_decode_SOURCES = \
|
|
intel_error_decode.c
|
|
|
|
intel_bios_reader_SOURCES = \
|
|
intel_bios_reader.c \
|
|
intel_bios.h
|