UBUNTU: SAUCE: binder: give binder_alloc its own debug mask file

Currently both binder.c and binder_alloc.c both register the
/sys/module/binder_linux/paramters/debug_mask file which leads to conflicts
in sysfs. This commit gives binder_alloc.c its own
/sys/module/binder_linux/paramters/alloc_debug_mask file.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
This commit is contained in:
Christian Brauner
2019-01-23 21:54:23 +01:00
committed by Paolo Pisati
parent dd465b2175
commit 04c8331eb9
+1 -2
View File
@@ -38,8 +38,7 @@ enum {
};
static uint32_t binder_alloc_debug_mask = BINDER_DEBUG_USER_ERROR;
module_param_named(debug_mask, binder_alloc_debug_mask,
uint, 0644);
module_param_named(alloc_debug_mask, binder_alloc_debug_mask, uint, 0644);
#define binder_alloc_debug(mask, x...) \
do { \