jamesge commented on issue #903: tools: add gdb_bthread_stack.py URL: https://github.com/apache/incubator-brpc/pull/903#issuecomment-525118553 bthread_list中显示的数目和bthread_num的不一致 ``` (gdb) bthread_begin Active bthreads: 25, will display 25 bthreads Enter bthread debug mode, do not switch thread before exec 'bthread_end' !!! (gdb) bthread_list id tid function total:5 #0 2675764627290 0x503a60 <brpc::Socket::ProcessEvent(void*)> #1 4294969344 0x511900 <brpc::GlobalUpdate(void*)> #2 4294969345 0x4fa3f0 <brpc::EventDispatcher::RunThis(void*)> #3 4294969346 0x4d71b0 <brpc::Server::UpdateDerivedVars(void*)> #4 2628519987470 0x6cd9d0 <brpc::ProcessInputMessage(void*)> (gdb) bthread_num 25 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
