I use it all the time on a program that starts from a shellscript. Just modify 
the line of the script where your program is invoked so that it uses valgrind 
(with appropriate args) to start your program.

Fred Smith
Senior Applications Programmer/Analyst
Computrition, Inc.
175 Middlesex Turnpike
Bedford, MA 01730
ph: 781-275-4488 x5013
fax: 781-357-4100


From: manik sheeri [mailto:sheeri185adi...@gmail.com]
Sent: Wednesday, February 05, 2014 6:02 AM
To: valgrind-users@lists.sourceforge.net
Subject: [Valgrind-users] unable to start child application

Hi,

I have an application which is started by a shell script.
But before that application is forked , there are many daemon processes started 
by the start shell script.

Unfortunately, when I use valgrind to initiate the start script with 
"--trace-children" enabled, the script exits at some point while starting a 
particular daemon.

My question is, can I simply give my interested executable in the command line, 
so that valgrind run everything smoothly but only instruments the given 
executable of interest. ???

thanks,
sheeri

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of the company. Finally, the 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to