From ea8506a15be9b6e0b3b2f34568f38d039a58dd16 Mon Sep 17 00:00:00 2001 From: John Dias Date: Fri, 12 Aug 2016 08:36:08 -0700 Subject: [PATCH] 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 --- drivers/android/binder.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index a9781cbb07fc..7378037ebe32 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -126,8 +126,7 @@ enum { BINDER_DEBUG_PRIORITY_CAP = 1U << 13, BINDER_DEBUG_SPINLOCKS = 1U << 14, }; -static uint32_t binder_debug_mask = BINDER_DEBUG_USER_ERROR | - BINDER_DEBUG_FAILED_TRANSACTION | BINDER_DEBUG_DEAD_TRANSACTION; +static uint32_t binder_debug_mask = 0; module_param_named(debug_mask, binder_debug_mask, uint, 0644); char *binder_devices_param = CONFIG_ANDROID_BINDER_DEVICES;