Could someone please help me to interpret opreport's output. As you can see in the non-callgraph output, below, I observe 7x as many 'vmlinux' samples as I observe 'myapp' samples. 'myapp' is the only application consuming CPU of any significance -- about 105% on a dual-core CPU (Virtual Machine on WinXP host). The callgraph output suggests that most of the execution time is spent in the kernel's do_notify_resume() function.
 
Question: Is 'myapp' really *executing* in the kernel most of the time, or is it *blocked* [e.g. on a spin lock or other system call] most of the time?
 
Regards,
... Dave
 
$ opreport
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
          TIMER:0|
  samples|      %|
------------------
    86750 72.2905 vmlinux
    13399 11.1656 myapp
     6763  5.6357 libc-2.6.1.so
     5504  4.5866 libpthread-2.6.1.so
     5243  4.3691 libstdc++.so.6.0.9
o o o
 
$ opreport -c

CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name                 symbol name
-------------------------------------------------------------------------------
  16        0.0243  vmlinux                  vmlinux                  irq_entries_start
  65921    99.9757  vmlinux                  vmlinux                  setup_sigcontext
65921    54.9333  vmlinux                  vmlinux                  do_notify_resume
  65921    99.9757  vmlinux                  vmlinux                  do_notify_resume [self]
  15        0.0227  vmlinux                  vmlinux                  pipe_read
  1         0.0015  vmlinux                  vmlinux                  pipe_write
-------------------------------------------------------------------------------
6763      5.6357  libc-2.6.1.so            libc-2.6.1.so            (no symbols)
  6763     100.000  libc-2.6.1.so            libc-2.6.1.so            (no symbols) [self]
-------------------------------------------------------------------------------
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com