KCacheGrind source

I'm trying to do some performance analysis with KCacheGrind, which I am in love with <3. However, it would be even better if I could get libstd source in as well.

Does anyone know how to get libstd source to work. Is there a way to use a release-with-debug-symbols version of libstd? Can I do it without having to build rustc myself?

1 Like

Ok I feel silly now - I just had to follow the instructions in the screenshot above. I'm going to leave this post though to highlight how awesome I think KCacheGrind is. I'm using

valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes ./target/release/my_binary

to get the profiling data to inspect. Feel free to suggest options that would give better results.

1 Like