开发者

gprof symspec including C++ class functions

I'm trying to profile a pa开发者_开发技巧rticular portion of a large C++ program. I am using gprof and Gprof2Dot to generate nice graphs. However, I would like to exclude certain startup functions from the graph.

I thought I should be able to run gprof -Qclass::init to supress class::init and all its children, but that doesn't seem to be working. In fact, I can't get any "symspec" containing "::" to work. -Qmain works as I expect, however.

What magic tricks need to be done to get gprof to include/exclude function names with "::"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜