> As we know, the normal usage of Valgrind is: valgrind -options "program_run_command" . > Could it extended to use the PID as the args input? > For example, valgrind -pid "pidnumber". I only saw such in vgdb. This is not possible : a process has to be started under Valgrind. Valgrind cannot take control of an already running process.
vgdb has a --pid argument to indicate to vgdb which already running *valgrind* pid it has to connect to. vgdb cannot connect to a pid which is not running under Valgrind. 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
