Hello All,

I am new to oprofile tool. I have one query regarding the oprofile data.

I am using following version for Xen kernel machine.
opcontrol: oprofile 0.9.6 compiled on Feb 22 2011 23:00:45


I am using following for starting the profiler:
opcontrol --start --xen=/boot/vmlinux-2.6.37.6-0.11-xen.gz --vmlinux=/boot/vmlinux-2.6.37.6-0.11-xen.gz

And then, after few seconds, I stop the profiler. (opcontrol --stop) followed by dump (opcontrol --dump)

When I see the report by (opreport > out), I get
------------------
   507047 53.9129 vmlinux-2.6.37.6-0.11-xen.gz
   110583 11.7580 netbk
    89593  9.5262 ovs-vswitchd
        CPU_CLK_UNHALT...|
          samples|      %|
        ------------------
            89090 99.4386 ovs-vswitchd
              503  0.5614 [vdso] (tgid:3246 range:0x7fff32338000-0x7fff32339000)
    78154  8.3099 e1000e
    48645  5.1723 libc-2.11.3.so
    48226  5.1277 openvswitch_mod
    14164  1.5060 libxul.so
    11809  1.2556 oprofiled
     5045  0.5364 libpthread-2.11.3.so
     3844  0.4087 libglib-2.0.so.0.2800.0
     3491  0.3712 libmozjs.so
     3154  0.3354 firefox
        CPU_CLK_UNHALT...|
          samples|      %|
        ------------------
             2193 69.5308 firefox
              232  7.3557 [vdso] (tgid:2728 range:0x7fff43bff000-0x7fff43c00000)
              125  3.9632 anon (tgid:2728 range:0x7ff19ef2c000-0x7ff19ef3c000)
               94  2.9803 anon (tgid:2728 range:0x7ff1bb876000-0x7ff1bb8a6000)
& so on.

Now, what I want is, I want the distribution of libc's 5% contribution to processes like, ovs-switchd, openvswitch_mod, e1000e etc. . I want application wise data and not library wise. What option can I use to get that data.

Thanks in advance, for your help.

----------------------------
Thanks & Regards
Mohit Dhingra