sdm660-common: Silence some spammy logging
HWC and cit sensor logspam is so intense it bumps up logd's idle CPU usage up to over 3%. With this change, logs are much cleaner and logd idle CPU usage is reduced to under 1%, while still allowing error logs to pass through. - Do this only in user/debug builds (except eng). - Add wifi and cnss too while we're at it, they can get noisy at times.
This commit is contained in:
parent
89f1efc0ca
commit
e8f300c3f5
1 changed files with 21 additions and 0 deletions
21
sdm660.mk
21
sdm660.mk
|
@ -323,6 +323,27 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.light-service.xiaomi
|
android.hardware.light-service.xiaomi
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
SPAMMY_LOG_TAGS := \
|
||||||
|
MiStcImpl \
|
||||||
|
SDM \
|
||||||
|
SDM-histogram \
|
||||||
|
SRE \
|
||||||
|
WifiHAL \
|
||||||
|
cnss-daemon \
|
||||||
|
libcitsensorservice@2.0-impl \
|
||||||
|
libsensor-displayalgo \
|
||||||
|
libsensor-parseRGB \
|
||||||
|
libsensor-ssccalapi \
|
||||||
|
sensors \
|
||||||
|
vendor.qti.hardware.display.composer-service \
|
||||||
|
vendor.xiaomi.sensor.citsensorservice@2.0-service
|
||||||
|
|
||||||
|
ifneq ($(TARGET_BUILD_VARIANT),eng)
|
||||||
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
|
$(foreach tag,$(SPAMMY_LOG_TAGS),log.tag.$(tag)=E)
|
||||||
|
endif
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libgui_vendor
|
libgui_vendor
|
||||||
|
|
Loading…
Reference in a new issue