> I'm profiling a multi-component embedded system on Ubuntu.  
> The components are in multiple languages (c++, java, 
> javascript tied in using lein and cmake), thus I chose 
> Valgrind (also using perf and YourKit to qualify the valgrind 
> results).  I am wondering, will Valgrind work properly if I 
> run it with more than 1 tool when executed?  For example:
> 
> valgrind --tool=callgrind --callgrind-out-file=calls.data 
> --tool=massif --massif-output-file=heap.data ./program.out
> 
> I get the feeling that since each tool is fairly taxing on 
> the system the answer is going to be a resounding "no" - just 
> wanted to ask.

Not possible : the Valgrind tools are not "stackable". 

Note that something like 2 years ago, I started to work on a patch
to callgrind to have it recording the allocation/de-allocation
together with what it can record now.
This would reasonably fullfill your usage above (i.e. have
callgrind+massif).
Never finished :(.

Philippe

____
 
This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.
 
Any views expressed in this message are those of the sender.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to