Hi all,

 

I have just started using Oprofile for the first time and have come across an issue I’m hoping someone can help me with.

 

I have run the following commands (in order):

 

opcontrol --init

opcontrol --setup --no-vmlinux

opcontrol --start

[I now run my executable program file]

opcontrol --dump

opcontrol --save=testSession

opreport --long-filenames

[which give the output below (I have only shown the top few lines)]

 

CPU: AMD64 processors, speed 2400.22 MHz (estimated)

Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask

of 0x00 (No unit mask) count 100000

CPU_CLK_UNHALT...|

  samples|      %|

------------------

 26126117 99.0961 /no-vmlinux

    56463  0.2142 /lib64/tls/libc-2.3.4.so

    53599  0.2033 /usr/bin/oprofiled

    22360  0.0848 /lib/tls/libc-2.3.4.so

    15797  0.0599 /opt/sunjava-1.5.0_12/jre/lib/amd64/server/libjvm.so

    14074  0.0534 /usr/lib64/libstdc++.so.6.0.3

    14017  0.0532 /lib64/ld-2.3.4.so

     6893  0.0261 /lib64/tls/libpthread-2.3.4.so

     6642  0.0252 /sbin/modprobe

     5759  0.0218 /bin/bash

     3820  0.0145 /opt/IBM/db2udb-runtime-client-V9.1FP03/db2/lib64/libdb2.so.1

     3326  0.0126 /opt/df-4.15.6/as442rw8_64/release/libdf_util_opt.so

 

opreport -l image:/no-vmlinux

[then I get the following error]

 

CPU: AMD64 processors, speed 2400.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  %        symbol name

26126117 100.000  (no symbols)

warning: /no-vmlinux could not be found.

 

I cannot understand why this can’t be found. It clearly states in the first output that it exists, with the following line:

 

‘26126117 99.0961 /no-vmlinux’

 

If someone could help explain to me what is going wrong I would really really appreciate it.

 

 

Regards,

Jon W.