binder: set binder_debug_mask=0 to suppress logging

Excessive logging -- not present on angler -- is affecting
performance, contributing to missed audio deadlines and likely other
latency-dependent tasks.
Bug: 30375418

Change-Id: I88b9c7fa4540ad46e564f44a0e589b5215e8487d
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
This commit is contained in:
John Dias 2016-08-12 08:36:08 -07:00 committed by spakkkk
parent 331242ceb3
commit ea8506a15b

View File

@ -126,8 +126,7 @@ enum {
BINDER_DEBUG_PRIORITY_CAP = 1U << 13, BINDER_DEBUG_PRIORITY_CAP = 1U << 13,
BINDER_DEBUG_SPINLOCKS = 1U << 14, BINDER_DEBUG_SPINLOCKS = 1U << 14,
}; };
static uint32_t binder_debug_mask = BINDER_DEBUG_USER_ERROR | static uint32_t binder_debug_mask = 0;
BINDER_DEBUG_FAILED_TRANSACTION | BINDER_DEBUG_DEAD_TRANSACTION;
module_param_named(debug_mask, binder_debug_mask, uint, 0644); module_param_named(debug_mask, binder_debug_mask, uint, 0644);
char *binder_devices_param = CONFIG_ANDROID_BINDER_DEVICES; char *binder_devices_param = CONFIG_ANDROID_BINDER_DEVICES;