Re: [PATCH] binder: tell userspace to dump current backtrace when detecting oneway spamming

2021-04-01 Thread Hang Lu
On 3/31/2021 3:44 PM, Greg KH wrote: > On Wed, Mar 31, 2021 at 03:34:16PM +0800, Hang Lu wrote: >> When async binder buffer got exhausted, some normal oneway transaction >> will also be discarded and finally caused system/app stop. By that time, >> the binder debug information we dump may not

Re: [PATCH] binder: tell userspace to dump current backtrace when detecting oneway spamming

2021-03-31 Thread Greg KH
On Wed, Mar 31, 2021 at 03:34:16PM +0800, Hang Lu wrote: > When async binder buffer got exhausted, some normal oneway transaction > will also be discarded and finally caused system/app stop. By that time, > the binder debug information we dump may not relevant to the root cause. > And this issue

[PATCH] binder: tell userspace to dump current backtrace when detecting oneway spamming

2021-03-31 Thread Hang Lu
When async binder buffer got exhausted, some normal oneway transaction will also be discarded and finally caused system/app stop. By that time, the binder debug information we dump may not relevant to the root cause. And this issue is difficult to debug if without the backtrace of thread sending