|
From: Tom H. <th...@cy...> - 2004-02-06 08:16:03
|
In message <OF4...@co...>
manikandan x. shanmugam <man...@ve...> wrote:
> * Attach a process id with valgrind, i know it is not possible,
> just confirming it.
Indeed it isn't.
> * I have a scenario where, we have a system monitor which
> starts/initializes/monitors all the other core processes. These core
> processes cannot be started alone. They are tightly coupled with system
> monitor. Is there any way, i will be able to individually attach valgrind
> to the core process without attaching to the system monitor. I know of the
> --trace-children option, this is not suited for our system, since it spawns
> lot of processes in the order of hundreds.
You would have to either change the monitor to start the core process
in question under valgrind, or replace the executable for that process
with a shell script that started the real core process under valgrind.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|