|
From: Herby6262 <jri...@bi...> - 2011-11-22 17:20:47
|
I have a good amount of Linux and programming experience (~10 years) but am new to the valgrind tool. Thus far I really like the information and capabilities, impressive. 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. Also was wondering if anyone has used the iogrind tool for Valgrind on a multi-threaded application with any success. Thanks very much all, -- View this message in context: http://old.nabble.com/Can-more-than-1-Valgrind-tool-be-run-at-once--tp32872913p32872913.html Sent from the Valgrind - Users mailing list archive at Nabble.com. |
|
From: <pa...@fr...> - 2011-11-22 17:42:43
|
----- Original Message ----- > > I have a good amount of Linux and programming experience (~10 years) > but am > new to the valgrind tool. Thus far I really like the information and > capabilities, impressive. > > 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. Also > was > wondering if anyone has used the iogrind tool for Valgrind on a > multi-threaded application with any success. Hi [reply to the list this time] I run a functional test suite using memcheck over the weekend on an 8 core machine with 6 in parallel. As long as you don't drive the machine into swap then I don't think that there should be a problem. A+ Paul |
|
From: Milian W. <ma...@mi...> - 2011-11-22 18:38:08
Attachments:
signature.asc
|
On Tuesday 22 November 2011 09:20:41 Herby6262 wrote: > I have a good amount of Linux and programming experience (~10 years) but am > new to the valgrind tool. Thus far I really like the information and > capabilities, impressive. > > 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. Also was > wondering if anyone has used the iogrind tool for Valgrind on a > multi-threaded application with any success. No, running multiple tools on the same process is not possible as far as I know. You can run multiple valgrind instances though as suggested by Paul. Cheers -- Milian Wolff ma...@mi... http://milianw.de |