Reads memory info from kgsl to track unaccounted for GL and ION memory. Right now it has to parse every allocation and then cross-reference it against /proc/pid/smaps. It would be faster to modify the kgsl driver to keep counters that could just be read directly. Bug: 10294768 Change-Id: Icb17558f03ce53bc594fbee097e51fe82e15dc31
12 lines
486 B
Makefile
12 lines
486 B
Makefile
display-hals := libgralloc libgenlock libcopybit liblight libvirtual
|
|
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
|
|
display-hals += libmemtrack
|
|
ifeq ($(call is-vendor-board-platform,QCOM),true)
|
|
include $(call all-named-subdir-makefiles,$(display-hals))
|
|
else
|
|
ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)
|
|
#This is for mako since it doesn't have the QCOM make functions
|
|
include $(call all-named-subdir-makefiles,$(display-hals))
|
|
endif
|
|
endif
|