add

macro_append cppflags " -pg "

to your requirements file of the package

recompile it from scratch.

set the LD_PROFILE variable to your library name before you run, in my case it was:

export LD_PROFILE=libtthAnalysis.so

run athena.

at the end of the run you should have some .profileblabla file in /var/tmp/

and then (I think) do:

sprof /var/tmp/.profileblabla

try: sprof --help

for help

-- DerSchrecklicheSven - 29 Mar 2006

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2006-03-29 - AndreasWildauer
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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