|
From: Murthy, S. <Sud...@nd...> - 2013-03-04 09:04:00
|
I have cross-compiled Helgrind and using this tool to monitor a process. This process in turn spawns a few more processes. When I use the below command, ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, I do not see the "process 2" and "process 3" when the command ps Is entered. Also, I do not observe logs from "process 1". Can anyone help me if I have done anything incorrect here? ________________________________ This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the pos...@nd... and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com |
|
From: Julian S. <js...@ac...> - 2013-03-04 09:09:47
|
On 03/04/2013 09:51 AM, Murthy, Sudhindra wrote: > ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, > > I do not see the "process 2" and "process 3" when the command ps Is entered. Also, I do not observe logs from "process 1". > > Can anyone help me if I have done anything incorrect here? All the Helgrind processes are using the same logfile. Try with --log-file=helgrind%p.log which puts the process ID in each file name, hence they will use different log files. J |
|
From: Murthy, S. <Sud...@nd...> - 2013-03-04 10:27:28
|
If I try to run the process standalone, I get the serial logs. But when the process is run from valgrind, none of the serial logs are output. Even printfs from the process are not being output. The same is the case when redirecting it to a file. From: Murthy, Sudhindra [mailto:Sud...@nd...] Sent: Monday, March 04, 2013 2:22 PM To: val...@li... Subject: [Valgrind-users] Helgrind usage - query I have cross-compiled Helgrind and using this tool to monitor a process. This process in turn spawns a few more processes. When I use the below command, ./valgrind --trace-children=yes -log-file=helgrind.log -tool=helgrind /bin/process1, I do not see the "process 2" and "process 3" when the command ps Is entered. Also, I do not observe logs from "process 1". Can anyone help me if I have done anything incorrect here? ________________________________ This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the pos...@nd...<mailto:pos...@nd...> and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com<http://www.nds.com> |