Valgrind is a programming tool for memory debugging, memory leak detection, and profiling.



Compile software for debugging with gdb, put in BuildFile:

<flags CXXFLAGS="-O0 -g3 -fno-inline">

Now recompile. This way valgrind will put numbers of line in his output. You can run valgrind using:

  • valgrind --leak-check=full cmsRun -p mycfg
  • valgrind --tool=memcheck cmsRun -p mycfg

-- LeszekGrzanka - 21 Aug 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2008-08-21 - LeszekGrzanka
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback