I installed valgrind on Centos using this command:
yum install valgrind kcachegrind graphviz
I then used the callgrind tool for my c++ program. It generated its callgrind.out.42424 file.
Now, I want to open this file on KCacheGrind using this command:
kcachegrind ./callgrind.out.42424
but terminal says
bash kcachegrind : command not found
I don't know why I am getting this error whereas I installed it. Do I need to be in specific directory to run this command?