ZhengweiZhu commented on PR #3096: URL: https://github.com/apache/brpc/pull/3096#issuecomment-3302040396
This pr will be useful to help diagnose bthread problem like bthread deadlock, which is hard or unrealistic by using gdb only. However condisering the performance cost brought by lock, temporarily I just enable this feature when BRPC_BTHREAD_TRACER is defined. **Do u guys have any suggestion to minimize the performance cost so let it be applicable for all situations.** If so, I plan to add method to set bthread name and user can check all living bthreads with more detail, reducing the need to enable BRPC_BTHREAD_TRACER for stack trace. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
