gpt4 book ai didi

linux - 为什么 kcachegrind 不显示调用图?

转载 作者:IT王子 更新时间:2023-10-29 00:21:28 24 4
gpt4 key购买 nike

我正在尝试获取有关大型程序流程的一些信息。 KCachegrind 过去曾经非常适合这个。但是我的系统 (Kubuntu 10.10) 上的最新版本 (0.6kde) 不会显示调用树和调用者映射。它只绘制一个带有当前函数的框,但没有箭头,也没有调用者。这是控制台输出:

kcachegrind(27917)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/cosmin/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
CallGraphView::refresh
CallGraphView::refresh: Started process 0x1346f50, 'dot -Tplain'
CallGraphView::readDotOutput: QProcess 0x1346f50
CallGraphView::dotExited: QProcess 0x1346f50

我安装了 dot (graphviz),应用程序是用 -g -O0 编译的。

您知道问题出在哪里吗?

最佳答案

糟糕...我正在调用 valgrind --tool=cachegrind 而不是 valgrind --tool=callgrind

关于linux - 为什么 kcachegrind 不显示调用图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4202889/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com