Relative Content

Tag Archive for valgrindkcachegrind

kcachegrind can’t connect to display

For a school project I have to use Valgrind and other tools to help optimise a program. I’m on macOS 14.0 and using a Lima VM to run the profiling tools, but this is my first time using an environment like this so I’m not familiar with how it all works.
I’m encountering a problem with kcachegrind: after profiling the compiled file with valgrind --tool=callgrind ./file I run kcachegrind callgrind.out.3113 but get the following output: