Instead of using the sessions, does opreport work?

opcontrol --dump
opreport

Vitali

On Dec 2, 2009, at 10:13 PM, Yongheng Qi wrote:

Thanks Joe,

I tried your commad , the result is same as before.

root@OpenWrt:/tmp/lib/oprofile/samples# opreport session:foosession
opreport error: No sample file found: try running opcontrol --dump
or specify a session containing sample files

Thanks

2009/12/3 Joe Hewitt <joe.z.hewitt@gmail.com>
these 2:

> opcontrol --dump --session-dir=/var/lib/oprofile
> opreport -l --session-dir=/var/lib/oprofile

instead, try

opcontrol --save=foosession
opreport session:foosession

you can ref oprofile online doc for explanation and samples.

On Thu, Dec 3, 2009 at 1:19 PM, Yongheng Qi <jetever@gmail.com> wrote:
> Dear All:
>
> I am a newbie use oprifile. I run it on my openwrt , the kernel version is
> 2.6.26. run on a MIPS 24K cpu
>
> used oprofile version is 0.94. This is my command:
>
> opcontrol --init
> opcontrol --setup --event=CYCLES:5000:0:1:0 --vmlinux=/etc/vmlinux
> --session-dir=/var/lib/oprofile
> opcontrol --start
>
> wait a monent, because I want to optimize linux kernel and driver, thay all
> run at kernel level.
>
> opcontrol --dump --session-dir=/var/lib/oprofile
> opreport -l --session-dir=/var/lib/oprofile
> then, the result is:
> opreport error: No sample file found: try running opcontrol --dump
> or specify a session containing sample files
>
> I try to a million times. and find many FAQ, don't solve. Anyone could help
> me?
>
> Thanks
>
> --
> Yongheng Qi
>
> Mobile: +86 1390 119 7481
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>
>



--
Joe H



--
Yongheng Qi  

Mobile: +86 1390 119 7481
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list