You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/09/01 09:44:22 UTC

[GitHub] [incubator-brpc] zhangwenqin01 opened a new issue #1543: 开启cpu profiler后导出的pdf文件异常简洁

zhangwenqin01 opened a new issue #1543:
URL: https://github.com/apache/incubator-brpc/issues/1543


   **Describe the bug (描述bug)**![image]
   以echo_c++ server为例,使用方法:
   tools/pprof host:ip/pprof/profile --pdf > output.pdf
   获取到的pdf如图所示
   
   ![image](https://user-images.githubusercontent.com/84383831/131490855-02135a7d-ed83-4bca-a507-d0f4b596f75a.png)
   
   **To Reproduce (复现方法)**
   
   **Expected behavior (期望行为)**
   
   **Versions (各种版本)**
   OS:
    debian 9.13
   
   Compiler: 
   bazel 3.0.0
   
   brpc: 
   0.9.7
   
   protobuf:
   **Additional context/screenshots (更多上下文/截图)**
   
   ps:为了排除是依赖的libtcmalloc_and_profiler.a和libunwind.a的问题,在demo程序上直接链接这两个静态库
   
   按照如下使用方法
   pprof ./demo(demo的二进制文件) 127.0.0.1:ip/pprof/profile --pdf > output.pdf 
   
   获取到的pdf文件是正常的,如下图
   ![image](https://user-images.githubusercontent.com/84383831/131493048-cb4edaec-3136-4cb5-81f1-a025984a0b39.png)
   


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] cdjingit commented on issue #1543: 开启cpu profiler后导出的pdf文件异常简洁

Posted by GitBox <gi...@apache.org>.
cdjingit commented on issue #1543:
URL: https://github.com/apache/incubator-brpc/issues/1543#issuecomment-910048273


   是指没有brpc框架函数的调用关系吗?确定是有流量的?另外bin里的符号都保留了吗?有没有stripped掉?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] cdjingit commented on issue #1543: 开启cpu profiler后导出的pdf文件异常简洁

Posted by GitBox <gi...@apache.org>.
cdjingit commented on issue #1543:
URL: https://github.com/apache/incubator-brpc/issues/1543#issuecomment-910048273


   是指没有brpc框架函数的调用关系吗?确定是有流量的?另外bin里的符号都保留了吗?有没有stripped掉?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org