Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
devices
android_kernel_sony_msm8994
Commits
54d72501
Commit
54d72501
authored
Aug 08, 2021
by
threader
Committed by
Bernhard Thoben
Aug 11, 2021
Browse files
BINDER: set module_params according to google master and ratelimit debug
parent
64759646
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/android/binder_alloc.c
View file @
54d72501
...
...
@@ -28,6 +28,7 @@
#include
<linux/vmalloc.h>
#include
<linux/slab.h>
#include
<linux/sched.h>
#include
<linux/ratelimit.h>
#include
<linux/highmem.h>
#include
<linux/sizes.h>
#include
"binder_alloc.h"
...
...
@@ -43,12 +44,12 @@ enum {
static
uint32_t
binder_alloc_debug_mask
;
module_param_named
(
debug_mask
,
binder_alloc_debug_mask
,
uint
,
S_IWUSR
|
S_IRUGO
);
uint
,
0644
);
#define binder_alloc_debug(mask, x...) \
do { \
if (binder_alloc_debug_mask & mask) \
pr_info(x); \
pr_info
_ratelimited
(x); \
} while (0)
static
struct
binder_buffer
*
binder_buffer_next
(
struct
binder_buffer
*
buffer
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment