lorinlee commented on issue #2144:
URL: https://github.com/apache/brpc/issues/2144#issuecomment-1454790966

   @17336 上面的issue是contention profiler。cpu profiler 
不完整可以确认下是不是栈帧回溯有问题,issue里提供的信息比较少不太好直接定位问题,可以尝试的办法比如编译加-g和-fno-omit-frame-pointer,确认编译过后没有对相关二进制/动态库做strip;brpc的cpu
 
profiler是基于gperftools实现的,也可以参考gperftools的文档。采样次数减少一般可以看做是当前函数的开销,对应到问题里就是start_thread本身的开销。


-- 
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]

Reply via email to