binder: Set binder_(alloc_)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 [@0ctobot: Extend patch to cover binder_alloc_debug_mask] Co-authored-by: Adam W. Willis <return.of.octobot@gmail.com> Change-Id: I36c4ce8a0294e5e7847a3fd884691cb178cd95c2
This commit is contained in:
parent
abca78dc6d
commit
e72c9fc255
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -44,7 +44,7 @@ enum {
|
||||||
BINDER_DEBUG_BUFFER_ALLOC = 1U << 2,
|
BINDER_DEBUG_BUFFER_ALLOC = 1U << 2,
|
||||||
BINDER_DEBUG_BUFFER_ALLOC_ASYNC = 1U << 3,
|
BINDER_DEBUG_BUFFER_ALLOC_ASYNC = 1U << 3,
|
||||||
};
|
};
|
||||||
static uint32_t binder_alloc_debug_mask = BINDER_DEBUG_USER_ERROR;
|
static uint32_t binder_alloc_debug_mask = 0;
|
||||||
|
|
||||||
module_param_named(debug_mask, binder_alloc_debug_mask,
|
module_param_named(debug_mask, binder_alloc_debug_mask,
|
||||||
uint, 0644);
|
uint, 0644);
|
||||||
|
|
Loading…
Reference in a new issue