Running Valgrind with CIM provider
Visakh Sreekumar <[email protected]> Mon, 22 Oct 2012 06:01:24 -0600
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <96F0D5E6ED9B1F4983196DE73A6725110109874A75@BRM-EXCH-4.corp.brocade.com> |
Hi This is Visakh, I am new to this group. I am trying to do memory leak analysis of our CIM provider with valgrind and has so far been unsuccessful in my attempt. Hope to get some expert advice in this regard. I have a wrapper script for executing cimprovagt which is as given below: ========================================================================== module=$5 VALGRIND_ARGS="--leak-check=yes --trace-children=yes --log- file=/tmp/$module.valgrind" if [ -e /tmp/$module.valgrind -o -e /tmp/LogAll.valgrind ]; then exec /usr/bin/valgrind $VALGRIND_ARGS \ /opt/pegasus/bin/cimprovagt.orig "$@" else exec /opt/pegasus/bin/cimprovagt.orig "$@" fi ========================================================================== Here /opt/pegasus/bin/cimprovagt.orig is the renamed original cimprovagt executable. Now when I run valgrind -v cimprovagt(which is the wrapper), it reports the error: "cimprovagt is an internal program used by cimserver. cimprovagt should not be invoked directly." This is seen irrespective of whether "forceProviderProcesses" is true/false. Please let me know if I am missing anything here. Regards, Visakh