dongwei8440 2016-04-09 10:37 采纳率: 100%
浏览 106

转到工具pprof list命令会给出“语法错误:“(”意外”

I've got a cpu profile file that I've been examining for a bottleneck in my code and using the commands like top10 works fine. However, when I want to look at the source code listing by typing

list Remove

Where Remove is the function I want to list, it gives the following output:

(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

Any ideas?

  • 写回答

0条回答 默认 最新

    报告相同问题?