|
From: Josef W. <Jos...@gm...> - 2013-02-06 15:45:46
|
Am 06.02.2013 10:21, schrieb Ice Frog: > Hi folks, > > I have a simple question. I'm using Valgrind for database profiling. The > db server is a daemon program, and it seems I can only do profiling by > attaching Valgrind to the daemon. Valgrind does not allow attaching to a running process. With some development effort, it may be possible to add such a feature (e.g. Intel Pin, quite similar to Valgrind, but not open-source, allows for this). However, this only would be useful for profiling tools. For correctness checkers (memcheck, helgrind, ...), its useless, as these tools need to observe all actions from program start to work. Thus, afaik, attaching to running programs is not on the TODO list for Valgrind. Josef I googled and still cannot find the > answer. > Please let me know how can I do that. BTW, the kcachegrind > website(http://kcachegrind.sourceforge.net/) has been available. > > > Great thanks!! > > Thanks, > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |