لماذا لا يعرض Kcachegrind الرسم البياني للاتصال؟

StackOverflow https://stackoverflow.com/questions/4202889

  •  25-09-2019
  •  | 
  •  

سؤال

أحاول الحصول على بعض المعلومات حول تدفق برنامج كبير. اعتاد Kcachegrind أن تكون رائعة لهذا في الماضي. لكن أحدث إصدار (0.6kde) لدي على نظامي (Kubuntu 10.10) لن يعرض شجرة الاتصال وخريطة المتصل. إنه يرسم مربعًا فقط مع الوظيفة الحالية ، ولكن لا يوجد أسهم ولا المتصلين. ها هو إخراج وحدة التحكم:

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top