-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
usageuser need to change the way using brpc to solve the problemuser need to change the way using brpc to solve the problem
Description
Describe the bug (描述bug)![image]
以echo_c++ server为例,使用方法:
tools/pprof host:ip/pprof/profile --pdf > output.pdf
获取到的pdf如图所示
ech0.pdf
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文件是正常的,如下图
Metadata
Metadata
Assignees
Labels
usageuser need to change the way using brpc to solve the problemuser need to change the way using brpc to solve the problem