実行可能ファイルに関連付けられたソース コードを表示しようとしていますlab13。KCachegrindの [ソース] タブをクリックすると、次のように表示されます。
There is no source available for the following function:
    'main'
This is because no debug information is present.
Recompile source and redo profile run.
The function is located in this ELF object:
    'lab13'
ただし、次のように-gデバッグ フラグを使用していmakefileます。
lab13:main.o
    g++ -g main.o -o lab13
    ./lab13
main.o:main.cpp EdgeArray.h Edge.h DisjointSets.h Matrix.h experiment.h
    g++ -c -g main.cpp
callgrind.outへの次の呼び出しを使用してファイルを作成しましたvalgrind。
valgrind --tool=callgrind --dsymutil=yes ./lab13 
KCachgrindのドキュメントを見ましたが、[ソース] タブ機能をアクティブにする方法に関する情報はありません。
OSX でプログラムをコンパイルし、X11 経由で KCachgrind を実行しています。callgrind.outコードと同じディレクトリからファイルを読み取っています。他のすべての KCachgrind 機能は動作しているようです。
[ソース] タブを機能させるにはどうすればよいですか?