On 18 Apr 2013, at 19:15, Mahmood Naderan wrote:

> Dear all,
> I want to use kcachegrind and callgrind to profile my program and find the 
> hotspot. The problem is, I use --tool=callgrind but there is no calgrind 
> output file.
> 
> Here is the detail:
> My program at the top level uses a tcl script. What I run is 
>    [mahmood@mpc /home/mahmood/trunk]$ scripts/run_job -job test -valgrind 
> benchmark
> 
> the -valgrind option will set 
>     valgrind --tool=callgrind --tool=memcheck -v --trace-children=yes
> in the command line.
>  

You don't want more than one --tool option, and I guess that the last one 
overrides any earlier ones.

Just use --tool=callgrind.

Paul

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to