logo       

can't get a callgraph: msg#00046

Subject: can't get a callgraph
Hi there,

I'm trying to get callgraphs for my application without any luck. I
guess I'm doing something wrong. Could you please help?

Please check my output to see what I am observing (my application is
32-bit (-m32) running on a 64-bit linux):

$uname -a
Linux xxx 2.6.17-1.2157_FC5 #1 SMP Tue Jul 11 22:53:56 EDT 2006 x86_64
x86_64 x86_64 GNU/Linux
$ opreport -v
opreport: oprofile 0.9.1 compiled on Feb 12 2006 03:13:40
$ sudo opcontrol --status
Daemon not running
Separate options: none
vmlinux file: none
Image filter: none
Call-graph depth: 32
$ sudo opcontrol --start
Detected stale lock file. Removing.
Using default event: CPU_CLK_UNHALTED:100000:0:1:1
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/oprofiled.log
Daemon started.
Profiler running.
$ opreport -c -t 1 -l rtr-5-app.debug
opreport error: parse_filename() invalid filename:
/var/lib/oprofile/samples/current/{root}/var/lib/oprofile/samples/current/{root}/home/myegorus/nodes/dev/source/reuters-rfa-5/rtr-5-app.debug/{dep}/{anon}/14637.0xf52d5000.0xf5cd5000/CPU_CLK_UNHALTED.100000.0.all.all.all/{dep}/{root}/var/lib/oprofile/samples/current/{root}/home/myegorus/nodes/dev/source/reuters-rfa-5/rtr-5-app.debug/{dep}/{anon}/14637.0xf52d5000.0xf5cd5000/CPU_CLK_UNHALTED.100000.0.all.all.all/{cg}/{root}/usr/bin/oprofiled/CPU_CLK_UNHALTED.100000.0.all.all.all
$ sudo opcontrol --reset
Signalling daemon... done
$ opreport -c -t 1 -l rtr-5-app.debug
CPU: AMD64 processors, speed 2393.22 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a
unit mask of 0x00 (No unit mask) count 100000
samples  %        image name               symbol name
-------------------------------------------------------------------------------
1283     18.6483  rtr-5-app.debug          (anonymous
namespace)::aux::image_builder::apply(reuters::field, void*)
  1283     100.000  rtr-5-app.debug          (anonymous
namespace)::aux::image_builder::apply(reuters::field, void*) [self]
-------------------------------------------------------------------------------
810      11.7733  anon (tgid:14637 range:0xffffe000-0xfffff000) (no symbols)
  810      100.000  anon (tgid:14637 range:0xffffe000-0xfffff000) (no
symbols) [self]
-------------------------------------------------------------------------------
633       9.2006  rtr-5-app.debug
reuters::message::for_each_field(int (*)(reuters::field, void*),
void*) const::local::for_each_apply_cb(TibMsg*, TibField*, void*)
  633      100.000  rtr-5-app.debug
reuters::message::for_each_field(int (*)(reuters::field, void*),
void*) const::local::for_each_apply_cb(TibMsg*, TibField*, void*)
[self]
-------------------------------------------------------------------------------
468       6.8023  rtr-5-app.debug          util::operator==(util::str
const&, util::str const&)
  468      100.000  rtr-5-app.debug
util::operator==(util::str const&, util::str const&) [self]
-------------------------------------------------------------------------------
326       4.7384  rtr-5-app.debug          util::str::size() const
  326      100.000  rtr-5-app.debug          util::str::size() const [self]
-------------------------------------------------------------------------------
240       3.4884  rtr-5-app.debug          util::str::str(char const*,
unsigned int)
  240      100.000  rtr-5-app.debug          util::str::str(char
const*, unsigned int) [self]
-------------------------------------------------------------------------------
230       3.3430  rtr-5-app.debug
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*&, std::_Rb_tree_node_base*&,
std::_Rb_tree_node_base*&)
  230      100.000  rtr-5-app.debug
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*&, std::_Rb_tree_node_base*&,
std::_Rb_tree_node_base*&) [self]
-------------------------------------------------------------------------------
167       2.4273  rtr-5-app.debug          reuters::field::name() const
  167      100.000  rtr-5-app.debug          reuters::field::name() const [self]
-------------------------------------------------------------------------------
166       2.4128  rtr-5-app.debug          .plt
  166      100.000  rtr-5-app.debug          .plt [self]
-------------------------------------------------------------------------------
132       1.9186  rtr-5-app.debug          reuters::field::~field()
  132      100.000  rtr-5-app.debug          reuters::field::~field() [self]
-------------------------------------------------------------------------------
101       1.4680  rtr-5-app.debug          reuters::field::impl::~impl()
  101      100.000  rtr-5-app.debug
reuters::field::impl::~impl() [self]
-------------------------------------------------------------------------------
92        1.3372  rtr-5-app.debug          reuters::field::impl::impl()
  92       100.000  rtr-5-app.debug          reuters::field::impl::impl() [self]
-------------------------------------------------------------------------------
91        1.3227  rtr-5-app.debug
std::_Rb_tree_base_iterator::_M_increment()
  91       100.000  rtr-5-app.debug
std::_Rb_tree_base_iterator::_M_increment() [self]
-------------------------------------------------------------------------------
91        1.3227  rtr-5-app.debug
std::_Rb_tree_rebalance(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*&)
  91       100.000  rtr-5-app.debug
std::_Rb_tree_rebalance(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*&) [self]
-------------------------------------------------------------------------------
79        1.1483  rtr-5-app.debug
std::auto_ptr<reuters::field::impl>::operator->() const
  79       100.000  rtr-5-app.debug
std::auto_ptr<reuters::field::impl>::operator->() const [self]
-------------------------------------------------------------------------------
76        1.1047  rtr-5-app.debug          (anonymous
namespace)::aux::feed_impl::handle(rfa::sessionLayer::MarketDataItemEvent
const&)
  76       100.000  rtr-5-app.debug          (anonymous
namespace)::aux::feed_impl::handle(rfa::sessionLayer::MarketDataItemEvent
const&) [self]
-------------------------------------------------------------------------------
73        1.0610  rtr-5-app.debug          (anonymous
namespace)::aux::updates(reuters::image const&, reuters::image const&,
bool)
  73       100.000  rtr-5-app.debug          (anonymous
namespace)::aux::updates(reuters::image const&, reuters::image const&,
bool) [self]
-------------------------------------------------------------------------------
72        1.0465  rtr-5-app.debug          std::auto_ptr<(anonymous
namespace)::aux::sub>::release()
  72       100.000  rtr-5-app.debug          std::auto_ptr<(anonymous
namespace)::aux::sub>::release() [self]
-------------------------------------------------------------------------------
71        1.0320  rtr-5-app.debug
std::auto_ptr<reuters::field::impl>::~auto_ptr()
  71       100.000  rtr-5-app.debug
std::auto_ptr<reuters::field::impl>::~auto_ptr() [self]
-------------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>