Go工具pprof list命令给出';语法错误:";(“意外的';

Go工具pprof list命令给出';语法错误:";(“意外的';,go,profiler,pprof,Go,Profiler,Pprof,我有一个cpu配置文件,我一直在检查代码中的瓶颈,使用top10之类的命令可以很好地工作 list Remove 其中Remove是我想要列出的函数,它提供以下输出: (pprof) list Remove Total: 207 samples sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax erro

我有一个cpu配置文件,我一直在检查代码中的瓶颈,使用top10之类的命令可以很好地工作

list Remove
其中
Remove
是我想要列出的函数,它提供以下输出:

(pprof) list Remove
Total: 207 samples
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected

有什么想法吗?

Go的哪个版本?您是如何生成配置文件的?1.6并将--raw标志传递给localhost:6060/blah的Go工具的