From: Yongheng Qi <je...@gm...> - 2009-12-03 05:20:05
|
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 |
From: Joe H. <joe...@gm...> - 2009-12-03 06:06:49
|
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 <je...@gm...> 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 > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > -- Joe H |
From: Yongheng Qi <je...@gm...> - 2009-12-03 06:13:16
|
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...@gm...> > 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 <je...@gm...> 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 > > opr...@li... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > > > > > > -- > Joe H > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Vitali L. <vit...@pa...> - 2009-12-03 08:25:09
|
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...@gm...> > 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 <je...@gm...> 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 > > opr...@li... > > 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 > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list |
From: Yongheng Qi <je...@gm...> - 2009-12-03 08:40:37
|
yes , this is information: root@OpenWrt:/proc# opcontrol --setup --event=CYCLES:5000:0:1:0 --vmlinux=/etc/vmlinux --session-dir=/var/lib/oprofile root@OpenWrt:/proc# opcontrol --start Using 2.6+ OProfile kernel interface. Reading module info. Using log file /var/lib/oprofile/samples/oprofiled.log Daemon started. Profiler running. root@OpenWrt:/proc# opcontrol --dump --session-dir=/var/lib/oprofile root@OpenWrt:/proc# opreport -l --session-dir=/var/lib/oprofile opreport error: No sample file found: try running opcontrol --dump or specify a session containing sample files very strange. please help me. Thanks 2009/12/3 Vitali Lovich <vit...@pa...> > 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...@gm...> > >> 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 <je...@gm...> 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 >> > opr...@li... >> > 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 > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Joe H. <joe...@gm...> - 2009-12-03 08:57:09
|
You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the command sequence etc. thus guys here can help diagnosis. On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> >> >> 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 <je...@gm...> 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 >> > opr...@li... >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> > >> > >> >> >> >> -- >> Joe H > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Joe H |
From: Yongheng Qi <je...@gm...> - 2009-12-04 02:23:21
|
OK, Thanks root@OpenWrt:/proc# cat /dev/oprofile/cpu_type mips/24K The oprofiled.log: Thu Jan 1 09:42:46 1970 Nr. sample dumps: 6 Nr. non-backtrace samples: 0 Nr. kernel samples: 0 Nr. lost samples (no kernel/user): 0 Nr. lost kernel samples: 0 Nr. incomplete code structs: 0 Nr. samples lost due to sample file open failure: 0 Nr. samples lost due to no permanent mapping: 0 Nr. event lost due to buffer overflow: 0 Nr. samples lost due to no mapping: 0 Nr. backtraces skipped due to no file mapping: 0 Nr. samples lost due to no mm: 0 Nr. samples lost cpu buffer overflow: 0 Nr. samples received: 0 Nr. backtrace aborted: 0 Nr. samples lost invalid pc: 0 oprofile could support MIPS 24K? 2009/12/3 Joe Hewitt <joe...@gm...> > You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the > command sequence etc. thus guys here can help diagnosis. > > On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> > >> > >> 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 <je...@gm...> 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 > >> > opr...@li... > >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> > > >> > > >> > >> > >> > >> -- > >> Joe H > > > > > > > > -- > > Yongheng Qi > > > > Mobile: +86 1390 119 7481 > > > > > > -- > Joe H > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Yongheng Qi <je...@gm...> - 2009-12-04 02:54:42
|
Anyone can help me? Thanks 2009/12/4 Yongheng Qi <je...@gm...> > OK, Thanks > > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > mips/24K > > The oprofiled.log: > > Thu Jan 1 09:42:46 1970 > > Nr. sample dumps: 6 > Nr. non-backtrace samples: 0 > Nr. kernel samples: 0 > Nr. lost samples (no kernel/user): 0 > Nr. lost kernel samples: 0 > Nr. incomplete code structs: 0 > Nr. samples lost due to sample file open failure: 0 > Nr. samples lost due to no permanent mapping: 0 > Nr. event lost due to buffer overflow: 0 > Nr. samples lost due to no mapping: 0 > Nr. backtraces skipped due to no file mapping: 0 > Nr. samples lost due to no mm: 0 > Nr. samples lost cpu buffer overflow: 0 > Nr. samples received: 0 > Nr. backtrace aborted: 0 > Nr. samples lost invalid pc: 0 > > oprofile could support MIPS 24K? > > > 2009/12/3 Joe Hewitt <joe...@gm...> > >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the >> command sequence etc. thus guys here can help diagnosis. >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> >> >> >> >> 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 <je...@gm...> 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 >> >> > opr...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Joe H >> > >> > >> > >> > -- >> > Yongheng Qi >> > >> > Mobile: +86 1390 119 7481 >> > >> >> >> >> -- >> Joe H >> > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Joe H. <joe...@gm...> - 2009-12-04 02:54:45
|
I believe it supports or cpu_type won't be mips/24K. Once you setup session-dir in --setup you don't have to setup it again. It's strange that you can issue 'opcontrol --dump --session-dir=/var/lib/oprofile', on my x64 box, this command returns 'Option "--setup" not valid with "--dump"'. what do you get if you 'cd /var/lib/oprofile/samples'? On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: > OK, Thanks > > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > mips/24K > > The oprofiled.log: > > Thu Jan 1 09:42:46 1970 > > Nr. sample dumps: 6 > Nr. non-backtrace samples: 0 > Nr. kernel samples: 0 > Nr. lost samples (no kernel/user): 0 > Nr. lost kernel samples: 0 > Nr. incomplete code structs: 0 > Nr. samples lost due to sample file open failure: 0 > Nr. samples lost due to no permanent mapping: 0 > Nr. event lost due to buffer overflow: 0 > Nr. samples lost due to no mapping: 0 > Nr. backtraces skipped due to no file mapping: 0 > Nr. samples lost due to no mm: 0 > Nr. samples lost cpu buffer overflow: 0 > Nr. samples received: 0 > Nr. backtrace aborted: 0 > Nr. samples lost invalid pc: 0 > > oprofile could support MIPS 24K? > > 2009/12/3 Joe Hewitt <joe...@gm...> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the >> command sequence etc. thus guys here can help diagnosis. >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> >> >> >> >> 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 <je...@gm...> 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 >> >> > opr...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Joe H >> > >> > >> > >> > -- >> > Yongheng Qi >> > >> > Mobile: +86 1390 119 7481 >> > >> >> >> >> -- >> Joe H > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Joe H |
From: Yongheng Qi <je...@gm...> - 2009-12-04 02:56:03
|
root@OpenWrt:~# cd /var/lib/oprofile/samples/ root@OpenWrt:/tmp/lib/oprofile/samples# ls current oprofiled.log Thanks 2009/12/4 Joe Hewitt <joe...@gm...> > I believe it supports or cpu_type won't be mips/24K. > > > Once you setup session-dir in --setup you don't have to setup it > again. It's strange that you can issue 'opcontrol --dump > --session-dir=/var/lib/oprofile', on my x64 box, this command returns > 'Option "--setup" not valid with "--dump"'. > > what do you get if you 'cd /var/lib/oprofile/samples'? > > On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: > > OK, Thanks > > > > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > > mips/24K > > > > The oprofiled.log: > > > > Thu Jan 1 09:42:46 1970 > > > > Nr. sample dumps: 6 > > Nr. non-backtrace samples: 0 > > Nr. kernel samples: 0 > > Nr. lost samples (no kernel/user): 0 > > Nr. lost kernel samples: 0 > > Nr. incomplete code structs: 0 > > Nr. samples lost due to sample file open failure: 0 > > Nr. samples lost due to no permanent mapping: 0 > > Nr. event lost due to buffer overflow: 0 > > Nr. samples lost due to no mapping: 0 > > Nr. backtraces skipped due to no file mapping: 0 > > Nr. samples lost due to no mm: 0 > > Nr. samples lost cpu buffer overflow: 0 > > Nr. samples received: 0 > > Nr. backtrace aborted: 0 > > Nr. samples lost invalid pc: 0 > > > > oprofile could support MIPS 24K? > > > > 2009/12/3 Joe Hewitt <joe...@gm...> > >> > >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the > >> command sequence etc. thus guys here can help diagnosis. > >> > >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> > >> >> > >> >> 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 <je...@gm...> > 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 > >> >> > opr...@li... > >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Joe H > >> > > >> > > >> > > >> > -- > >> > Yongheng Qi > >> > > >> > Mobile: +86 1390 119 7481 > >> > > >> > >> > >> > >> -- > >> Joe H > > > > > > > > -- > > Yongheng Qi > > > > Mobile: +86 1390 119 7481 > > > > > > -- > Joe H > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Yongheng Qi <je...@gm...> - 2009-12-04 08:58:58
|
I read the linux kernel profile document: Add "profile=2" to the kernel command line. Get the source (see Changes for required version) from http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel command line. I don't know how to add the kernel command on the opewrt and emabled system. Thanks 2009/12/4 Joe Hewitt <joe...@gm...> > I believe it supports or cpu_type won't be mips/24K. > > > Once you setup session-dir in --setup you don't have to setup it > again. It's strange that you can issue 'opcontrol --dump > --session-dir=/var/lib/oprofile', on my x64 box, this command returns > 'Option "--setup" not valid with "--dump"'. > > what do you get if you 'cd /var/lib/oprofile/samples'? > > On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: > > OK, Thanks > > > > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > > mips/24K > > > > The oprofiled.log: > > > > Thu Jan 1 09:42:46 1970 > > > > Nr. sample dumps: 6 > > Nr. non-backtrace samples: 0 > > Nr. kernel samples: 0 > > Nr. lost samples (no kernel/user): 0 > > Nr. lost kernel samples: 0 > > Nr. incomplete code structs: 0 > > Nr. samples lost due to sample file open failure: 0 > > Nr. samples lost due to no permanent mapping: 0 > > Nr. event lost due to buffer overflow: 0 > > Nr. samples lost due to no mapping: 0 > > Nr. backtraces skipped due to no file mapping: 0 > > Nr. samples lost due to no mm: 0 > > Nr. samples lost cpu buffer overflow: 0 > > Nr. samples received: 0 > > Nr. backtrace aborted: 0 > > Nr. samples lost invalid pc: 0 > > > > oprofile could support MIPS 24K? > > > > 2009/12/3 Joe Hewitt <joe...@gm...> > >> > >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the > >> command sequence etc. thus guys here can help diagnosis. > >> > >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> > >> >> > >> >> 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 <je...@gm...> > 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 > >> >> > opr...@li... > >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Joe H > >> > > >> > > >> > > >> > -- > >> > Yongheng Qi > >> > > >> > Mobile: +86 1390 119 7481 > >> > > >> > >> > >> > >> -- > >> Joe H > > > > > > > > -- > > Yongheng Qi > > > > Mobile: +86 1390 119 7481 > > > > > > -- > Joe H > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Sam L. <ph...@gm...> - 2009-12-05 11:57:16
|
There are something you can try: 1. run oprofile on timer mode. 2. do not use session option, just opreport -l directly. 3. check kernel message. 4. check oprofile stats under /dev/oprofile/stats directory. With these commands you can make sure it's a kernel problem or UP's problem. -Sam On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: > I read the linux kernel profile document: > > Add "profile=2" to the kernel command line. > > Get the source (see Changes for required version) from > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel command > line. > > I don't know how to add the kernel command on the opewrt and emabled system. > > Thanks > > 2009/12/4 Joe Hewitt <joe...@gm...> >> >> I believe it supports or cpu_type won't be mips/24K. >> >> >> Once you setup session-dir in --setup you don't have to setup it >> again. It's strange that you can issue 'opcontrol --dump >> --session-dir=/var/lib/oprofile', on my x64 box, this command returns >> 'Option "--setup" not valid with "--dump"'. >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: >> > OK, Thanks >> > >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >> > mips/24K >> > >> > The oprofiled.log: >> > >> > Thu Jan 1 09:42:46 1970 >> > >> > Nr. sample dumps: 6 >> > Nr. non-backtrace samples: 0 >> > Nr. kernel samples: 0 >> > Nr. lost samples (no kernel/user): 0 >> > Nr. lost kernel samples: 0 >> > Nr. incomplete code structs: 0 >> > Nr. samples lost due to sample file open failure: 0 >> > Nr. samples lost due to no permanent mapping: 0 >> > Nr. event lost due to buffer overflow: 0 >> > Nr. samples lost due to no mapping: 0 >> > Nr. backtraces skipped due to no file mapping: 0 >> > Nr. samples lost due to no mm: 0 >> > Nr. samples lost cpu buffer overflow: 0 >> > Nr. samples received: 0 >> > Nr. backtrace aborted: 0 >> > Nr. samples lost invalid pc: 0 >> > >> > oprofile could support MIPS 24K? >> > >> > 2009/12/3 Joe Hewitt <joe...@gm...> >> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the >> >> command sequence etc. thus guys here can help diagnosis. >> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> 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...@gm...> >> >> >> >> >> >> 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 <je...@gm...> >> >> >> 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 >> >> >> > opr...@li... >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Joe H >> >> > >> >> > >> >> > >> >> > -- >> >> > Yongheng Qi >> >> > >> >> > Mobile: +86 1390 119 7481 >> >> > >> >> >> >> >> >> >> >> -- >> >> Joe H >> > >> > >> > >> > -- >> > Yongheng Qi >> > >> > Mobile: +86 1390 119 7481 >> > >> >> >> >> -- >> 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 > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > |
From: Yongheng Qi <je...@gm...> - 2009-12-06 06:56:57
|
Dear Sam, Thanks your replay. 2009/12/5 Sam Liao <ph...@gm...> > There are something you can try: > > 1. run oprofile on timer mode. > I run oprofile on openwrt, it not support modprole, on use insmod, I run insmode oproble timer =1, not purpose. > 2. do not use session option, just opreport -l directly. > this I try to use , but the result is the same. > 3. check kernel message. > kernel message I use dmesg and logread, not message about oproble. > 4. check oprofile stats under /dev/oprofile/stats directory. > in the /dev/oprofile/stats, all file value is 0. > > With these commands you can make sure it's a kernel problem or UP's > problem. > > -Sam > > On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: > > I read the linux kernel profile document: > > > > Add "profile=2" to the kernel command line. > > > > Get the source (see Changes for required version) from > > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel > command > > line. > > > > I don't know how to add the kernel command on the opewrt and emabled > system. > > > > Thanks > > > > 2009/12/4 Joe Hewitt <joe...@gm...> > >> > >> I believe it supports or cpu_type won't be mips/24K. > >> > >> > >> Once you setup session-dir in --setup you don't have to setup it > >> again. It's strange that you can issue 'opcontrol --dump > >> --session-dir=/var/lib/oprofile', on my x64 box, this command returns > >> 'Option "--setup" not valid with "--dump"'. > >> > >> what do you get if you 'cd /var/lib/oprofile/samples'? > >> > >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: > >> > OK, Thanks > >> > > >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > >> > mips/24K > >> > > >> > The oprofiled.log: > >> > > >> > Thu Jan 1 09:42:46 1970 > >> > > >> > Nr. sample dumps: 6 > >> > Nr. non-backtrace samples: 0 > >> > Nr. kernel samples: 0 > >> > Nr. lost samples (no kernel/user): 0 > >> > Nr. lost kernel samples: 0 > >> > Nr. incomplete code structs: 0 > >> > Nr. samples lost due to sample file open failure: 0 > >> > Nr. samples lost due to no permanent mapping: 0 > >> > Nr. event lost due to buffer overflow: 0 > >> > Nr. samples lost due to no mapping: 0 > >> > Nr. backtraces skipped due to no file mapping: 0 > >> > Nr. samples lost due to no mm: 0 > >> > Nr. samples lost cpu buffer overflow: 0 > >> > Nr. samples received: 0 > >> > Nr. backtrace aborted: 0 > >> > Nr. samples lost invalid pc: 0 > >> > > >> > oprofile could support MIPS 24K? > >> > > >> > 2009/12/3 Joe Hewitt <joe...@gm...> > >> >> > >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and the > >> >> command sequence etc. thus guys here can help diagnosis. > >> >> > >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> > 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...@gm...> > >> >> >> > >> >> >> 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 <je...@gm...> > >> >> >> 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 > >> >> >> > opr...@li... > >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Joe H > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Yongheng Qi > >> >> > > >> >> > Mobile: +86 1390 119 7481 > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Joe H > >> > > >> > > >> > > >> > -- > >> > Yongheng Qi > >> > > >> > Mobile: +86 1390 119 7481 > >> > > >> > >> > >> > >> -- > >> 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 > > opr...@li... > > https://lists.sourceforge.net/lists/listinfo/oprofile-list > > > > > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Sam L. <ph...@gm...> - 2009-12-06 09:33:56
|
Please check the document, you can set to the timer mode from boot line with "oprofile.timer=1" option. -Sam On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> wrote: > Dear Sam, Thanks your replay. > > 2009/12/5 Sam Liao <ph...@gm...> >> >> There are something you can try: >> >> 1. run oprofile on timer mode. > > I run oprofile on openwrt, it not support modprole, on use insmod, I run > insmode oproble timer =1, not purpose. > >> >> 2. do not use session option, just opreport -l directly. > > this I try to use , but the result is the same. > >> >> 3. check kernel message. > > kernel message I use dmesg and logread, not message about oproble. > >> >> 4. check oprofile stats under /dev/oprofile/stats directory. > > in the /dev/oprofile/stats, all file value is 0. >> >> With these commands you can make sure it's a kernel problem or UP's >> problem. >> >> -Sam >> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: >> > I read the linux kernel profile document: >> > >> > Add "profile=2" to the kernel command line. >> > >> > Get the source (see Changes for required version) from >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel >> > command >> > line. >> > >> > I don't know how to add the kernel command on the opewrt and emabled >> > system. >> > >> > Thanks >> > >> > 2009/12/4 Joe Hewitt <joe...@gm...> >> >> >> >> I believe it supports or cpu_type won't be mips/24K. >> >> >> >> >> >> Once you setup session-dir in --setup you don't have to setup it >> >> again. It's strange that you can issue 'opcontrol --dump >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command returns >> >> 'Option "--setup" not valid with "--dump"'. >> >> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >> >> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> wrote: >> >> > OK, Thanks >> >> > >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >> >> > mips/24K >> >> > >> >> > The oprofiled.log: >> >> > >> >> > Thu Jan 1 09:42:46 1970 >> >> > >> >> > Nr. sample dumps: 6 >> >> > Nr. non-backtrace samples: 0 >> >> > Nr. kernel samples: 0 >> >> > Nr. lost samples (no kernel/user): 0 >> >> > Nr. lost kernel samples: 0 >> >> > Nr. incomplete code structs: 0 >> >> > Nr. samples lost due to sample file open failure: 0 >> >> > Nr. samples lost due to no permanent mapping: 0 >> >> > Nr. event lost due to buffer overflow: 0 >> >> > Nr. samples lost due to no mapping: 0 >> >> > Nr. backtraces skipped due to no file mapping: 0 >> >> > Nr. samples lost due to no mm: 0 >> >> > Nr. samples lost cpu buffer overflow: 0 >> >> > Nr. samples received: 0 >> >> > Nr. backtrace aborted: 0 >> >> > Nr. samples lost invalid pc: 0 >> >> > >> >> > oprofile could support MIPS 24K? >> >> > >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> >> >> >> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and >> >> >> the >> >> >> command sequence etc. thus guys here can help diagnosis. >> >> >> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> >> >> >> 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...@gm...> >> >> >> >> >> >> >> >> 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 <je...@gm...> >> >> >> >> 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 >> >> >> >> > opr...@li... >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> >> >> > >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Joe H >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Yongheng Qi >> >> >> > >> >> >> > Mobile: +86 1390 119 7481 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Joe H >> >> > >> >> > >> >> > >> >> > -- >> >> > Yongheng Qi >> >> > >> >> > Mobile: +86 1390 119 7481 >> >> > >> >> >> >> >> >> >> >> -- >> >> 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 >> > opr...@li... >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> > >> > > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > |
From: Yongheng Qi <je...@gm...> - 2009-12-06 09:37:37
|
Dear sam How to set the oprofile.timer=1 ? where set? Please tell me. Thanks 2009/12/6 Sam Liao <ph...@gm...> > Please check the document, you can set to the timer mode from boot > line with "oprofile.timer=1" option. > > -Sam > > On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> wrote: > > Dear Sam, Thanks your replay. > > > > 2009/12/5 Sam Liao <ph...@gm...> > >> > >> There are something you can try: > >> > >> 1. run oprofile on timer mode. > > > > I run oprofile on openwrt, it not support modprole, on use insmod, I > run > > insmode oproble timer =1, not purpose. > > > >> > >> 2. do not use session option, just opreport -l directly. > > > > this I try to use , but the result is the same. > > > >> > >> 3. check kernel message. > > > > kernel message I use dmesg and logread, not message about oproble. > > > >> > >> 4. check oprofile stats under /dev/oprofile/stats directory. > > > > in the /dev/oprofile/stats, all file value is 0. > >> > >> With these commands you can make sure it's a kernel problem or UP's > >> problem. > >> > >> -Sam > >> > >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: > >> > I read the linux kernel profile document: > >> > > >> > Add "profile=2" to the kernel command line. > >> > > >> > Get the source (see Changes for required version) from > >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel > >> > command > >> > line. > >> > > >> > I don't know how to add the kernel command on the opewrt and emabled > >> > system. > >> > > >> > Thanks > >> > > >> > 2009/12/4 Joe Hewitt <joe...@gm...> > >> >> > >> >> I believe it supports or cpu_type won't be mips/24K. > >> >> > >> >> > >> >> Once you setup session-dir in --setup you don't have to setup it > >> >> again. It's strange that you can issue 'opcontrol --dump > >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command returns > >> >> 'Option "--setup" not valid with "--dump"'. > >> >> > >> >> what do you get if you 'cd /var/lib/oprofile/samples'? > >> >> > >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> > wrote: > >> >> > OK, Thanks > >> >> > > >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > >> >> > mips/24K > >> >> > > >> >> > The oprofiled.log: > >> >> > > >> >> > Thu Jan 1 09:42:46 1970 > >> >> > > >> >> > Nr. sample dumps: 6 > >> >> > Nr. non-backtrace samples: 0 > >> >> > Nr. kernel samples: 0 > >> >> > Nr. lost samples (no kernel/user): 0 > >> >> > Nr. lost kernel samples: 0 > >> >> > Nr. incomplete code structs: 0 > >> >> > Nr. samples lost due to sample file open failure: 0 > >> >> > Nr. samples lost due to no permanent mapping: 0 > >> >> > Nr. event lost due to buffer overflow: 0 > >> >> > Nr. samples lost due to no mapping: 0 > >> >> > Nr. backtraces skipped due to no file mapping: 0 > >> >> > Nr. samples lost due to no mm: 0 > >> >> > Nr. samples lost cpu buffer overflow: 0 > >> >> > Nr. samples received: 0 > >> >> > Nr. backtrace aborted: 0 > >> >> > Nr. samples lost invalid pc: 0 > >> >> > > >> >> > oprofile could support MIPS 24K? > >> >> > > >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> > >> >> >> > >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and > >> >> >> the > >> >> >> command sequence etc. thus guys here can help diagnosis. > >> >> >> > >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> > >> >> >> 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...@gm...> > >> >> >> >> > >> >> >> >> 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 <je...@gm... > > > >> >> >> >> 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 > >> >> >> >> > opr...@li... > >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> -- > >> >> >> >> Joe H > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Yongheng Qi > >> >> >> > > >> >> >> > Mobile: +86 1390 119 7481 > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Joe H > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Yongheng Qi > >> >> > > >> >> > Mobile: +86 1390 119 7481 > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> 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 > >> > opr...@li... > >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >> > > >> > > > > > > > > > -- > > Yongheng Qi > > > > Mobile: +86 1390 119 7481 > > > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Yongheng Qi <je...@gm...> - 2009-12-07 05:19:46
|
I had try the .timer=1 at the mode parameters, but the result is the same bad and the error message is the same. root@OpenWrt:/# opreport -l opreport error: No sample file found: try running opcontrol --dump or specify a session containing sample files 2009/12/6 Yongheng Qi <je...@gm...> > Dear sam > > How to set the oprofile.timer=1 ? where set? Please tell me. > > Thanks > > > 2009/12/6 Sam Liao <ph...@gm...> > > Please check the document, you can set to the timer mode from boot >> line with "oprofile.timer=1" option. >> >> -Sam >> >> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> wrote: >> > Dear Sam, Thanks your replay. >> > >> > 2009/12/5 Sam Liao <ph...@gm...> >> >> >> >> There are something you can try: >> >> >> >> 1. run oprofile on timer mode. >> > >> > I run oprofile on openwrt, it not support modprole, on use insmod, I >> run >> > insmode oproble timer =1, not purpose. >> > >> >> >> >> 2. do not use session option, just opreport -l directly. >> > >> > this I try to use , but the result is the same. >> > >> >> >> >> 3. check kernel message. >> > >> > kernel message I use dmesg and logread, not message about oproble. >> > >> >> >> >> 4. check oprofile stats under /dev/oprofile/stats directory. >> > >> > in the /dev/oprofile/stats, all file value is 0. >> >> >> >> With these commands you can make sure it's a kernel problem or UP's >> >> problem. >> >> >> >> -Sam >> >> >> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: >> >> > I read the linux kernel profile document: >> >> > >> >> > Add "profile=2" to the kernel command line. >> >> > >> >> > Get the source (see Changes for required version) from >> >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel >> >> > command >> >> > line. >> >> > >> >> > I don't know how to add the kernel command on the opewrt and emabled >> >> > system. >> >> > >> >> > Thanks >> >> > >> >> > 2009/12/4 Joe Hewitt <joe...@gm...> >> >> >> >> >> >> I believe it supports or cpu_type won't be mips/24K. >> >> >> >> >> >> >> >> >> Once you setup session-dir in --setup you don't have to setup it >> >> >> again. It's strange that you can issue 'opcontrol --dump >> >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command >> returns >> >> >> 'Option "--setup" not valid with "--dump"'. >> >> >> >> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >> >> >> >> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> >> wrote: >> >> >> > OK, Thanks >> >> >> > >> >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >> >> >> > mips/24K >> >> >> > >> >> >> > The oprofiled.log: >> >> >> > >> >> >> > Thu Jan 1 09:42:46 1970 >> >> >> > >> >> >> > Nr. sample dumps: 6 >> >> >> > Nr. non-backtrace samples: 0 >> >> >> > Nr. kernel samples: 0 >> >> >> > Nr. lost samples (no kernel/user): 0 >> >> >> > Nr. lost kernel samples: 0 >> >> >> > Nr. incomplete code structs: 0 >> >> >> > Nr. samples lost due to sample file open failure: 0 >> >> >> > Nr. samples lost due to no permanent mapping: 0 >> >> >> > Nr. event lost due to buffer overflow: 0 >> >> >> > Nr. samples lost due to no mapping: 0 >> >> >> > Nr. backtraces skipped due to no file mapping: 0 >> >> >> > Nr. samples lost due to no mm: 0 >> >> >> > Nr. samples lost cpu buffer overflow: 0 >> >> >> > Nr. samples received: 0 >> >> >> > Nr. backtrace aborted: 0 >> >> >> > Nr. samples lost invalid pc: 0 >> >> >> > >> >> >> > oprofile could support MIPS 24K? >> >> >> > >> >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> >> >> >> >> >> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type and >> >> >> >> the >> >> >> >> command sequence etc. thus guys here can help diagnosis. >> >> >> >> >> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> >> >> >> >> 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...@gm...> >> >> >> >> >> >> >> >> >> >> 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 < >> je...@gm...> >> >> >> >> >> 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 >> >> >> >> >> > opr...@li... >> >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> >> Joe H >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > -- >> >> >> >> > Yongheng Qi >> >> >> >> > >> >> >> >> > Mobile: +86 1390 119 7481 >> >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Joe H >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Yongheng Qi >> >> >> > >> >> >> > Mobile: +86 1390 119 7481 >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> 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 >> >> > opr...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >> > >> >> > >> > >> > >> > >> > -- >> > Yongheng Qi >> > >> > Mobile: +86 1390 119 7481 >> > >> > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Sam L. <ph...@gm...> - 2009-12-07 08:28:23
|
After use oprofile.timer=1, please make sure: cat /dev/oprofile/cpu_type is "timer". Or you did not actually make things work. For most condition this should work, which you can check by the /dev/oprofile/stats/cpu0/* files. We should get some samples in kernel. If timer mode can not make you get any sample yet, then I have no further suggestion, maybe you need update bsp or kernel. -Sam --- On Mon, Dec 7, 2009 at 1:19 PM, Yongheng Qi <je...@gm...> wrote: > I had try the .timer=1 at the mode parameters, but the result is the same > bad and the error message is the same. > > root@OpenWrt:/# opreport -l > opreport error: No sample file found: try running opcontrol --dump > or specify a session containing sample files > > > 2009/12/6 Yongheng Qi <je...@gm...> >> >> Dear sam >> >> How to set the oprofile.timer=1 ? where set? Please tell me. >> >> Thanks >> >> >> 2009/12/6 Sam Liao <ph...@gm...> >>> >>> Please check the document, you can set to the timer mode from boot >>> line with "oprofile.timer=1" option. >>> >>> -Sam >>> >>> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> wrote: >>> > Dear Sam, Thanks your replay. >>> > >>> > 2009/12/5 Sam Liao <ph...@gm...> >>> >> >>> >> There are something you can try: >>> >> >>> >> 1. run oprofile on timer mode. >>> > >>> > I run oprofile on openwrt, it not support modprole, on use insmod, >>> > I run >>> > insmode oproble timer =1, not purpose. >>> > >>> >> >>> >> 2. do not use session option, just opreport -l directly. >>> > >>> > this I try to use , but the result is the same. >>> > >>> >> >>> >> 3. check kernel message. >>> > >>> > kernel message I use dmesg and logread, not message about oproble. >>> > >>> >> >>> >> 4. check oprofile stats under /dev/oprofile/stats directory. >>> > >>> > in the /dev/oprofile/stats, all file value is 0. >>> >> >>> >> With these commands you can make sure it's a kernel problem or UP's >>> >> problem. >>> >> >>> >> -Sam >>> >> >>> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> wrote: >>> >> > I read the linux kernel profile document: >>> >> > >>> >> > Add "profile=2" to the kernel command line. >>> >> > >>> >> > Get the source (see Changes for required version) from >>> >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the kernel >>> >> > command >>> >> > line. >>> >> > >>> >> > I don't know how to add the kernel command on the opewrt and emabled >>> >> > system. >>> >> > >>> >> > Thanks >>> >> > >>> >> > 2009/12/4 Joe Hewitt <joe...@gm...> >>> >> >> >>> >> >> I believe it supports or cpu_type won't be mips/24K. >>> >> >> >>> >> >> >>> >> >> Once you setup session-dir in --setup you don't have to setup it >>> >> >> again. It's strange that you can issue 'opcontrol --dump >>> >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command >>> >> >> returns >>> >> >> 'Option "--setup" not valid with "--dump"'. >>> >> >> >>> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >>> >> >> >>> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> >>> >> >> wrote: >>> >> >> > OK, Thanks >>> >> >> > >>> >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >>> >> >> > mips/24K >>> >> >> > >>> >> >> > The oprofiled.log: >>> >> >> > >>> >> >> > Thu Jan 1 09:42:46 1970 >>> >> >> > >>> >> >> > Nr. sample dumps: 6 >>> >> >> > Nr. non-backtrace samples: 0 >>> >> >> > Nr. kernel samples: 0 >>> >> >> > Nr. lost samples (no kernel/user): 0 >>> >> >> > Nr. lost kernel samples: 0 >>> >> >> > Nr. incomplete code structs: 0 >>> >> >> > Nr. samples lost due to sample file open failure: 0 >>> >> >> > Nr. samples lost due to no permanent mapping: 0 >>> >> >> > Nr. event lost due to buffer overflow: 0 >>> >> >> > Nr. samples lost due to no mapping: 0 >>> >> >> > Nr. backtraces skipped due to no file mapping: 0 >>> >> >> > Nr. samples lost due to no mm: 0 >>> >> >> > Nr. samples lost cpu buffer overflow: 0 >>> >> >> > Nr. samples received: 0 >>> >> >> > Nr. backtrace aborted: 0 >>> >> >> > Nr. samples lost invalid pc: 0 >>> >> >> > >>> >> >> > oprofile could support MIPS 24K? >>> >> >> > >>> >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> >>> >> >> >> >>> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type >>> >> >> >> and >>> >> >> >> the >>> >> >> >> command sequence etc. thus guys here can help diagnosis. >>> >> >> >> >>> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi <je...@gm...> >>> >> >> >> 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...@gm...> >>> >> >> >> >> >>> >> >> >> >> 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 >>> >> >> >> >> <je...@gm...> >>> >> >> >> >> 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 >>> >> >> >> >> > opr...@li... >>> >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> -- >>> >> >> >> >> Joe H >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > -- >>> >> >> >> > Yongheng Qi >>> >> >> >> > >>> >> >> >> > Mobile: +86 1390 119 7481 >>> >> >> >> > >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> -- >>> >> >> >> Joe H >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > -- >>> >> >> > Yongheng Qi >>> >> >> > >>> >> >> > Mobile: +86 1390 119 7481 >>> >> >> > >>> >> >> >>> >> >> >>> >> >> >>> >> >> -- >>> >> >> 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 >>> >> > opr...@li... >>> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >>> >> > >>> >> > >>> > >>> > >>> > >>> > -- >>> > Yongheng Qi >>> > >>> > Mobile: +86 1390 119 7481 >>> > >> >> >> >> -- >> Yongheng Qi >> >> Mobile: +86 1390 119 7481 > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > |
From: Yongheng Qi <je...@gm...> - 2009-12-07 08:35:24
|
I have modify insmod oprofile timer=1, but cat /dev/oprofile/cpu_type mips/24K I don't know why. I can't where should set oprofile.timer=1 and how use it. Please tell me. Thanks 2009/12/7 Sam Liao <ph...@gm...> > After use oprofile.timer=1, please make sure: > cat /dev/oprofile/cpu_type is "timer". > > Or you did not actually make things work. > For most condition this should work, which you can check by the > /dev/oprofile/stats/cpu0/* files. > We should get some samples in kernel. > > If timer mode can not make you get any sample yet, then I have no > further suggestion, maybe you need update bsp or kernel. > > -Sam > --- > > > On Mon, Dec 7, 2009 at 1:19 PM, Yongheng Qi <je...@gm...> wrote: > > I had try the .timer=1 at the mode parameters, but the result is the same > > bad and the error message is the same. > > > > root@OpenWrt:/# opreport -l > > opreport error: No sample file found: try running opcontrol --dump > > or specify a session containing sample files > > > > > > 2009/12/6 Yongheng Qi <je...@gm...> > >> > >> Dear sam > >> > >> How to set the oprofile.timer=1 ? where set? Please tell me. > >> > >> Thanks > >> > >> > >> 2009/12/6 Sam Liao <ph...@gm...> > >>> > >>> Please check the document, you can set to the timer mode from boot > >>> line with "oprofile.timer=1" option. > >>> > >>> -Sam > >>> > >>> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> wrote: > >>> > Dear Sam, Thanks your replay. > >>> > > >>> > 2009/12/5 Sam Liao <ph...@gm...> > >>> >> > >>> >> There are something you can try: > >>> >> > >>> >> 1. run oprofile on timer mode. > >>> > > >>> > I run oprofile on openwrt, it not support modprole, on use > insmod, > >>> > I run > >>> > insmode oproble timer =1, not purpose. > >>> > > >>> >> > >>> >> 2. do not use session option, just opreport -l directly. > >>> > > >>> > this I try to use , but the result is the same. > >>> > > >>> >> > >>> >> 3. check kernel message. > >>> > > >>> > kernel message I use dmesg and logread, not message about > oproble. > >>> > > >>> >> > >>> >> 4. check oprofile stats under /dev/oprofile/stats directory. > >>> > > >>> > in the /dev/oprofile/stats, all file value is 0. > >>> >> > >>> >> With these commands you can make sure it's a kernel problem or UP's > >>> >> problem. > >>> >> > >>> >> -Sam > >>> >> > >>> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> > wrote: > >>> >> > I read the linux kernel profile document: > >>> >> > > >>> >> > Add "profile=2" to the kernel command line. > >>> >> > > >>> >> > Get the source (see Changes for required version) from > >>> >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the > kernel > >>> >> > command > >>> >> > line. > >>> >> > > >>> >> > I don't know how to add the kernel command on the opewrt and > emabled > >>> >> > system. > >>> >> > > >>> >> > Thanks > >>> >> > > >>> >> > 2009/12/4 Joe Hewitt <joe...@gm...> > >>> >> >> > >>> >> >> I believe it supports or cpu_type won't be mips/24K. > >>> >> >> > >>> >> >> > >>> >> >> Once you setup session-dir in --setup you don't have to setup it > >>> >> >> again. It's strange that you can issue 'opcontrol --dump > >>> >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command > >>> >> >> returns > >>> >> >> 'Option "--setup" not valid with "--dump"'. > >>> >> >> > >>> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? > >>> >> >> > >>> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm...> > >>> >> >> wrote: > >>> >> >> > OK, Thanks > >>> >> >> > > >>> >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type > >>> >> >> > mips/24K > >>> >> >> > > >>> >> >> > The oprofiled.log: > >>> >> >> > > >>> >> >> > Thu Jan 1 09:42:46 1970 > >>> >> >> > > >>> >> >> > Nr. sample dumps: 6 > >>> >> >> > Nr. non-backtrace samples: 0 > >>> >> >> > Nr. kernel samples: 0 > >>> >> >> > Nr. lost samples (no kernel/user): 0 > >>> >> >> > Nr. lost kernel samples: 0 > >>> >> >> > Nr. incomplete code structs: 0 > >>> >> >> > Nr. samples lost due to sample file open failure: 0 > >>> >> >> > Nr. samples lost due to no permanent mapping: 0 > >>> >> >> > Nr. event lost due to buffer overflow: 0 > >>> >> >> > Nr. samples lost due to no mapping: 0 > >>> >> >> > Nr. backtraces skipped due to no file mapping: 0 > >>> >> >> > Nr. samples lost due to no mm: 0 > >>> >> >> > Nr. samples lost cpu buffer overflow: 0 > >>> >> >> > Nr. samples received: 0 > >>> >> >> > Nr. backtrace aborted: 0 > >>> >> >> > Nr. samples lost invalid pc: 0 > >>> >> >> > > >>> >> >> > oprofile could support MIPS 24K? > >>> >> >> > > >>> >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> > >>> >> >> >> > >>> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type > >>> >> >> >> and > >>> >> >> >> the > >>> >> >> >> command sequence etc. thus guys here can help diagnosis. > >>> >> >> >> > >>> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi < > je...@gm...> > >>> >> >> >> 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...@gm...> > >>> >> >> >> >> > >>> >> >> >> >> 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 > >>> >> >> >> >> <je...@gm...> > >>> >> >> >> >> 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 > >>> >> >> >> >> > opr...@li... > >>> >> >> >> >> > > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >>> >> >> >> >> > > >>> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> -- > >>> >> >> >> >> Joe H > >>> >> >> >> > > >>> >> >> >> > > >>> >> >> >> > > >>> >> >> >> > -- > >>> >> >> >> > Yongheng Qi > >>> >> >> >> > > >>> >> >> >> > Mobile: +86 1390 119 7481 > >>> >> >> >> > > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> -- > >>> >> >> >> Joe H > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > -- > >>> >> >> > Yongheng Qi > >>> >> >> > > >>> >> >> > Mobile: +86 1390 119 7481 > >>> >> >> > > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> -- > >>> >> >> 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 > >>> >> > opr...@li... > >>> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list > >>> >> > > >>> >> > > >>> > > >>> > > >>> > > >>> > -- > >>> > Yongheng Qi > >>> > > >>> > Mobile: +86 1390 119 7481 > >>> > > >> > >> > >> > >> -- > >> Yongheng Qi > >> > >> Mobile: +86 1390 119 7481 > > > > > > > > -- > > Yongheng Qi > > > > Mobile: +86 1390 119 7481 > > > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Yongheng Qi <je...@gm...> - 2009-12-07 08:40:41
|
by the way, I have set the kernel profile=2 and read the profile result: root@OpenWrt:/etc# readprofile -m System.map | sort -nr | head -50 25774 *unknown* 14692 total 0.0080 3335 __copy_user 4.7643 1225 do_ade 1.5625 1077 handle_adel_int 19.2321 847 r4k_wait 70.5833 605 r4k_dma_cache_wback_inv 3.4375 472 do_dsemulret 2.5652 435 __do_softirq 2.0913 429 ag71xx_poll 0.4239 393 kfree 1.7545 344 __bzero 0.9663 285 get_page_from_freelist 0.2563 285 __kmalloc 0.9628 269 ar71xx_ddr_flush 3.2024 225 __free_pages_ok 0.2679 220 handle_ades_int 3.9286 214 schedule 0.2560 207 handle_IRQ_event 1.2622 189 r4k_dma_cache_inv 1.0739 2009/12/7 Yongheng Qi <je...@gm...> > I have modify insmod oprofile timer=1, but > > cat /dev/oprofile/cpu_type > mips/24K > > I don't know why. > > I can't where should set oprofile.timer=1 and how use it. > > Please tell me. > > Thanks > > 2009/12/7 Sam Liao <ph...@gm...> > > After use oprofile.timer=1, please make sure: >> cat /dev/oprofile/cpu_type is "timer". >> >> Or you did not actually make things work. >> For most condition this should work, which you can check by the >> /dev/oprofile/stats/cpu0/* files. >> We should get some samples in kernel. >> >> If timer mode can not make you get any sample yet, then I have no >> further suggestion, maybe you need update bsp or kernel. >> >> -Sam >> --- >> >> >> On Mon, Dec 7, 2009 at 1:19 PM, Yongheng Qi <je...@gm...> wrote: >> > I had try the .timer=1 at the mode parameters, but the result is the >> same >> > bad and the error message is the same. >> > >> > root@OpenWrt:/# opreport -l >> > opreport error: No sample file found: try running opcontrol --dump >> > or specify a session containing sample files >> > >> > >> > 2009/12/6 Yongheng Qi <je...@gm...> >> >> >> >> Dear sam >> >> >> >> How to set the oprofile.timer=1 ? where set? Please tell me. >> >> >> >> Thanks >> >> >> >> >> >> 2009/12/6 Sam Liao <ph...@gm...> >> >>> >> >>> Please check the document, you can set to the timer mode from boot >> >>> line with "oprofile.timer=1" option. >> >>> >> >>> -Sam >> >>> >> >>> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> >> wrote: >> >>> > Dear Sam, Thanks your replay. >> >>> > >> >>> > 2009/12/5 Sam Liao <ph...@gm...> >> >>> >> >> >>> >> There are something you can try: >> >>> >> >> >>> >> 1. run oprofile on timer mode. >> >>> > >> >>> > I run oprofile on openwrt, it not support modprole, on use >> insmod, >> >>> > I run >> >>> > insmode oproble timer =1, not purpose. >> >>> > >> >>> >> >> >>> >> 2. do not use session option, just opreport -l directly. >> >>> > >> >>> > this I try to use , but the result is the same. >> >>> > >> >>> >> >> >>> >> 3. check kernel message. >> >>> > >> >>> > kernel message I use dmesg and logread, not message about >> oproble. >> >>> > >> >>> >> >> >>> >> 4. check oprofile stats under /dev/oprofile/stats directory. >> >>> > >> >>> > in the /dev/oprofile/stats, all file value is 0. >> >>> >> >> >>> >> With these commands you can make sure it's a kernel problem or UP's >> >>> >> problem. >> >>> >> >> >>> >> -Sam >> >>> >> >> >>> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> >> wrote: >> >>> >> > I read the linux kernel profile document: >> >>> >> > >> >>> >> > Add "profile=2" to the kernel command line. >> >>> >> > >> >>> >> > Get the source (see Changes for required version) from >> >>> >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the >> kernel >> >>> >> > command >> >>> >> > line. >> >>> >> > >> >>> >> > I don't know how to add the kernel command on the opewrt and >> emabled >> >>> >> > system. >> >>> >> > >> >>> >> > Thanks >> >>> >> > >> >>> >> > 2009/12/4 Joe Hewitt <joe...@gm...> >> >>> >> >> >> >>> >> >> I believe it supports or cpu_type won't be mips/24K. >> >>> >> >> >> >>> >> >> >> >>> >> >> Once you setup session-dir in --setup you don't have to setup it >> >>> >> >> again. It's strange that you can issue 'opcontrol --dump >> >>> >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command >> >>> >> >> returns >> >>> >> >> 'Option "--setup" not valid with "--dump"'. >> >>> >> >> >> >>> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >> >>> >> >> >> >>> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi <je...@gm... >> > >> >>> >> >> wrote: >> >>> >> >> > OK, Thanks >> >>> >> >> > >> >>> >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >> >>> >> >> > mips/24K >> >>> >> >> > >> >>> >> >> > The oprofiled.log: >> >>> >> >> > >> >>> >> >> > Thu Jan 1 09:42:46 1970 >> >>> >> >> > >> >>> >> >> > Nr. sample dumps: 6 >> >>> >> >> > Nr. non-backtrace samples: 0 >> >>> >> >> > Nr. kernel samples: 0 >> >>> >> >> > Nr. lost samples (no kernel/user): 0 >> >>> >> >> > Nr. lost kernel samples: 0 >> >>> >> >> > Nr. incomplete code structs: 0 >> >>> >> >> > Nr. samples lost due to sample file open failure: 0 >> >>> >> >> > Nr. samples lost due to no permanent mapping: 0 >> >>> >> >> > Nr. event lost due to buffer overflow: 0 >> >>> >> >> > Nr. samples lost due to no mapping: 0 >> >>> >> >> > Nr. backtraces skipped due to no file mapping: 0 >> >>> >> >> > Nr. samples lost due to no mm: 0 >> >>> >> >> > Nr. samples lost cpu buffer overflow: 0 >> >>> >> >> > Nr. samples received: 0 >> >>> >> >> > Nr. backtrace aborted: 0 >> >>> >> >> > Nr. samples lost invalid pc: 0 >> >>> >> >> > >> >>> >> >> > oprofile could support MIPS 24K? >> >>> >> >> > >> >>> >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> >> >>> >> >> >> >> >>> >> >> >> You can attach your oprofiled.log, cat /dev/oprofile/cpu_type >> >>> >> >> >> and >> >>> >> >> >> the >> >>> >> >> >> command sequence etc. thus guys here can help diagnosis. >> >>> >> >> >> >> >>> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi < >> je...@gm...> >> >>> >> >> >> 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...@gm...> >> >>> >> >> >> >> >> >>> >> >> >> >> 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 >> >>> >> >> >> >> <je...@gm...> >> >>> >> >> >> >> 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 >> >>> >> >> >> >> > opr...@li... >> >>> >> >> >> >> > >> https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >>> >> >> >> >> > >> >>> >> >> >> >> > >> >>> >> >> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> >> >>> >> >> >> >> -- >> >>> >> >> >> >> Joe H >> >>> >> >> >> > >> >>> >> >> >> > >> >>> >> >> >> > >> >>> >> >> >> > -- >> >>> >> >> >> > Yongheng Qi >> >>> >> >> >> > >> >>> >> >> >> > Mobile: +86 1390 119 7481 >> >>> >> >> >> > >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> -- >> >>> >> >> >> Joe H >> >>> >> >> > >> >>> >> >> > >> >>> >> >> > >> >>> >> >> > -- >> >>> >> >> > Yongheng Qi >> >>> >> >> > >> >>> >> >> > Mobile: +86 1390 119 7481 >> >>> >> >> > >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> -- >> >>> >> >> 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 >> >>> >> > opr...@li... >> >>> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >> >>> >> > >> >>> >> > >> >>> > >> >>> > >> >>> > >> >>> > -- >> >>> > Yongheng Qi >> >>> > >> >>> > Mobile: +86 1390 119 7481 >> >>> > >> >> >> >> >> >> >> >> -- >> >> Yongheng Qi >> >> >> >> Mobile: +86 1390 119 7481 >> > >> > >> > >> > -- >> > Yongheng Qi >> > >> > Mobile: +86 1390 119 7481 >> > >> > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Yongheng Qi <je...@gm...> - 2009-12-07 09:20:34
|
Thanks your help: I can get the opreport -l info: this is I get the result: root@OpenWrt:~# opcontrol --dump root@OpenWrt:~# opreport -l warning: /ath_dev could not be found. warning: /ath_hal could not be found. warning: /ath_pci could not be found. warning: /ath_pktlog could not be found. warning: /ath_rate_atheros could not be found. warning: /merakiclick could not be found. warning: /nf_conntrack could not be found. warning: /wlan could not be found. CPU: CPU with timer interrupt, speed 0 MHz (estimated) Profiling through timer interrupt samples % app name symbol name 14828 25.6744 ath_hal /ath_hal 10589 18.3347 click /click 5900 10.2157 vmlinux r4k_wait 4642 8.0375 ath_dev /ath_dev 4583 7.9354 vmlinux half_md4_transform 1699 2.9418 ath_pci /ath_pci 1409 2.4397 vmlinux do_ade 1405 2.4327 vmlinux handle_adel_int 956 1.6553 wlan /wlan 632 1.0943 vmlinux __local_bh_enable 521 0.9021 vmlinux r4k_dma_cache_inv 461 0.7982 vmlinux dev_ethtool 454 0.7861 vmlinux kmem_cache_free 409 0.7082 ath_rate_atheros /ath_rate_atheros 346 0.5991 vmlinux __kmalloc_track_caller 326 0.5645 vmlinux __dentry_open 324 0.5610 vmlinux ar71xx_ddr_flush I find some *.ko mode can't trace it . have some way trace the ko mod ? Thanks. 2009/12/7 Yongheng Qi <je...@gm...> > by the way, I have set the kernel profile=2 and read the profile result: > > root@OpenWrt:/etc# readprofile -m System.map | sort -nr | head -50 > 25774 *unknown* > 14692 total 0.0080 > 3335 __copy_user 4.7643 > 1225 do_ade 1.5625 > 1077 handle_adel_int 19.2321 > 847 r4k_wait 70.5833 > 605 r4k_dma_cache_wback_inv 3.4375 > 472 do_dsemulret 2.5652 > 435 __do_softirq 2.0913 > 429 ag71xx_poll 0.4239 > 393 kfree 1.7545 > 344 __bzero 0.9663 > 285 get_page_from_freelist 0.2563 > 285 __kmalloc 0.9628 > > 2009/12/7 Yongheng Qi <je...@gm...> > > I have modify insmod oprofile timer=1, but >> >> cat /dev/oprofile/cpu_type >> mips/24K >> >> I don't know why. >> >> I can't where should set oprofile.timer=1 and how use it. >> >> Please tell me. >> >> Thanks >> >> 2009/12/7 Sam Liao <ph...@gm...> >> >> After use oprofile.timer=1, please make sure: >>> cat /dev/oprofile/cpu_type is "timer". >>> >>> Or you did not actually make things work. >>> For most condition this should work, which you can check by the >>> /dev/oprofile/stats/cpu0/* files. >>> We should get some samples in kernel. >>> >>> If timer mode can not make you get any sample yet, then I have no >>> further suggestion, maybe you need update bsp or kernel. >>> >>> -Sam >>> --- >>> >>> >>> On Mon, Dec 7, 2009 at 1:19 PM, Yongheng Qi <je...@gm...> wrote: >>> > I had try the .timer=1 at the mode parameters, but the result is the >>> same >>> > bad and the error message is the same. >>> > >>> > root@OpenWrt:/# opreport -l >>> > opreport error: No sample file found: try running opcontrol --dump >>> > or specify a session containing sample files >>> > >>> > >>> > 2009/12/6 Yongheng Qi <je...@gm...> >>> >> >>> >> Dear sam >>> >> >>> >> How to set the oprofile.timer=1 ? where set? Please tell me. >>> >> >>> >> Thanks >>> >> >>> >> >>> >> 2009/12/6 Sam Liao <ph...@gm...> >>> >>> >>> >>> Please check the document, you can set to the timer mode from boot >>> >>> line with "oprofile.timer=1" option. >>> >>> >>> >>> -Sam >>> >>> >>> >>> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> >>> wrote: >>> >>> > Dear Sam, Thanks your replay. >>> >>> > >>> >>> > 2009/12/5 Sam Liao <ph...@gm...> >>> >>> >> >>> >>> >> There are something you can try: >>> >>> >> >>> >>> >> 1. run oprofile on timer mode. >>> >>> > >>> >>> > I run oprofile on openwrt, it not support modprole, on use >>> insmod, >>> >>> > I run >>> >>> > insmode oproble timer =1, not purpose. >>> >>> > >>> >>> >> >>> >>> >> 2. do not use session option, just opreport -l directly. >>> >>> > >>> >>> > this I try to use , but the result is the same. >>> >>> > >>> >>> >> >>> >>> >> 3. check kernel message. >>> >>> > >>> >>> > kernel message I use dmesg and logread, not message about >>> oproble. >>> >>> > >>> >>> >> >>> >>> >> 4. check oprofile stats under /dev/oprofile/stats directory. >>> >>> > >>> >>> > in the /dev/oprofile/stats, all file value is 0. >>> >>> >> >>> >>> >> With these commands you can make sure it's a kernel problem or >>> UP's >>> >>> >> problem. >>> >>> >> >>> >>> >> -Sam >>> >>> >> >>> >>> >> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> >>> wrote: >>> >>> >> > I read the linux kernel profile document: >>> >>> >> > >>> >>> >> > Add "profile=2" to the kernel command line. >>> >>> >> > >>> >>> >> > Get the source (see Changes for required version) from >>> >>> >> > http://oprofile.sourceforge.net/ and add "idle=poll" to the >>> kernel >>> >>> >> > command >>> >>> >> > line. >>> >>> >> > >>> >>> >> > I don't know how to add the kernel command on the opewrt and >>> emabled >>> >>> >> > system. >>> >>> >> > >>> >>> >> > Thanks >>> >>> >> > >>> >>> >> > 2009/12/4 Joe Hewitt <joe...@gm...> >>> >>> >> >> >>> >>> >> >> I believe it supports or cpu_type won't be mips/24K. >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> Once you setup session-dir in --setup you don't have to setup >>> it >>> >>> >> >> again. It's strange that you can issue 'opcontrol --dump >>> >>> >> >> --session-dir=/var/lib/oprofile', on my x64 box, this command >>> >>> >> >> returns >>> >>> >> >> 'Option "--setup" not valid with "--dump"'. >>> >>> >> >> >>> >>> >> >> what do you get if you 'cd /var/lib/oprofile/samples'? >>> >>> >> >> >>> >>> >> >> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi < >>> je...@gm...> >>> >>> >> >> wrote: >>> >>> >> >> > OK, Thanks >>> >>> >> >> > >>> >>> >> >> > root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >>> >>> >> >> > mips/24K >>> >>> >> >> > >>> >>> >> >> > The oprofiled.log: >>> >>> >> >> > >>> >>> >> >> > Thu Jan 1 09:42:46 1970 >>> >>> >> >> > >>> >>> >> >> > Nr. sample dumps: 6 >>> >>> >> >> > Nr. non-backtrace samples: 0 >>> >>> >> >> > Nr. kernel samples: 0 >>> >>> >> >> > Nr. lost samples (no kernel/user): 0 >>> >>> >> >> > Nr. lost kernel samples: 0 >>> >>> >> >> > Nr. incomplete code structs: 0 >>> >>> >> >> > Nr. samples lost due to sample file open failure: 0 >>> >>> >> >> > Nr. samples lost due to no permanent mapping: 0 >>> >>> >> >> > Nr. event lost due to buffer overflow: 0 >>> >>> >> >> > Nr. samples lost due to no mapping: 0 >>> >>> >> >> > Nr. backtraces skipped due to no file mapping: 0 >>> >>> >> >> > Nr. samples lost due to no mm: 0 >>> >>> >> >> > Nr. samples lost cpu buffer overflow: 0 >>> >>> >> >> > Nr. samples received: 0 >>> >>> >> >> > Nr. backtrace aborted: 0 >>> >>> >> >> > Nr. samples lost invalid pc: 0 >>> >>> >> >> > >>> >>> >> >> > oprofile could support MIPS 24K? >>> >>> >> >> > >>> >>> >> >> > 2009/12/3 Joe Hewitt <joe...@gm...> >>> >>> >> >> >> >>> >>> >> >> >> You can attach your oprofiled.log, cat >>> /dev/oprofile/cpu_type >>> >>> >> >> >> and >>> >>> >> >> >> the >>> >>> >> >> >> command sequence etc. thus guys here can help diagnosis. >>> >>> >> >> >> >>> >>> >> >> >> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi < >>> je...@gm...> >>> >>> >> >> >> 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...@gm...> >>> >>> >> >> >> >> >>> >>> >> >> >> >> 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 >>> >>> >> >> >> >> <je...@gm...> >>> >>> >> >> >> >> 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 >>> >>> >> >> >> >> > opr...@li... >>> >>> >> >> >> >> > >>> https://lists.sourceforge.net/lists/listinfo/oprofile-list >>> >>> >> >> >> >> > >>> >>> >> >> >> >> > >>> >>> >> >> >> >> >>> >>> >> >> >> >> >>> >>> >> >> >> >> >>> >>> >> >> >> >> -- >>> >>> >> >> >> >> Joe H >>> >>> >> >> >> > >>> >>> >> >> >> > >>> >>> >> >> >> > >>> >>> >> >> >> > -- >>> >>> >> >> >> > Yongheng Qi >>> >>> >> >> >> > >>> >>> >> >> >> > Mobile: +86 1390 119 7481 >>> >>> >> >> >> > >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> -- >>> >>> >> >> >> Joe H >>> >>> >> >> > >>> >>> >> >> > >>> >>> >> >> > >>> >>> >> >> > -- >>> >>> >> >> > Yongheng Qi >>> >>> >> >> > >>> >>> >> >> > Mobile: +86 1390 119 7481 >>> >>> >> >> > >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> -- >>> >>> >> >> 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 >>> >>> >> > opr...@li... >>> >>> >> > https://lists.sourceforge.net/lists/listinfo/oprofile-list >>> >>> >> > >>> >>> >> > >>> >>> > >>> >>> > >>> >>> > >>> >>> > -- >>> >>> > Yongheng Qi >>> >>> > >>> >>> > Mobile: +86 1390 119 7481 >>> >>> > >>> >> >>> >> >>> >> >>> >> -- >>> >> Yongheng Qi >>> >> >>> >> Mobile: +86 1390 119 7481 >>> > >>> > >>> > >>> > -- >>> > Yongheng Qi >>> > >>> > Mobile: +86 1390 119 7481 >>> > >>> >> >> >> >> -- >> Yongheng Qi >> >> Mobile: +86 1390 119 7481 >> > > > > -- > Yongheng Qi > > Mobile: +86 1390 119 7481 > -- Yongheng Qi Mobile: +86 1390 119 7481 |
From: Maynard J. <may...@us...> - 2009-12-07 15:22:49
|
Yongheng Qi wrote: > Thanks your help: I can get the opreport -l info: > > this is I get the result: > > root@OpenWrt:~# opcontrol --dump > root@OpenWrt:~# opreport -l > warning: /ath_dev could not be found. > warning: /ath_hal could not be found. > warning: /ath_pci could not be found. > warning: /ath_pktlog could not be found. > warning: /ath_rate_atheros could not be found. > warning: /merakiclick could not be found. > warning: /nf_conntrack could not be found. > warning: /wlan could not be found. > CPU: CPU with timer interrupt, speed 0 MHz (estimated) > Profiling through timer interrupt > samples % app name symbol name > 14828 25.6744 ath_hal /ath_hal > 10589 18.3347 click /click > 5900 10.2157 vmlinux r4k_wait > 4642 8.0375 ath_dev /ath_dev > 4583 7.9354 vmlinux half_md4_transform > 1699 2.9418 ath_pci /ath_pci > 1409 2.4397 vmlinux do_ade > 1405 2.4327 vmlinux handle_adel_int > 956 1.6553 wlan /wlan > 632 1.0943 vmlinux __local_bh_enable > 521 0.9021 vmlinux r4k_dma_cache_inv > 461 0.7982 vmlinux dev_ethtool > 454 0.7861 vmlinux kmem_cache_free > 409 0.7082 ath_rate_atheros /ath_rate_atheros > 346 0.5991 vmlinux __kmalloc_track_caller > 326 0.5645 vmlinux __dentry_open > 324 0.5610 vmlinux ar71xx_ddr_flush > > I find some *.ko mode can't trace it . have some way trace the ko mod ? You need to expend a little effort on your own before spam'ing the list with questions that can be easily answered by reading the oprofile manual provided on the website. There's even a section in the manual called "Profiling kernel modules". I'll leave it as an exercise to the reader to find it. -Maynard > > Thanks. > > > 2009/12/7 Yongheng Qi <je...@gm...> > >> by the way, I have set the kernel profile=2 and read the profile result: >> >> root@OpenWrt:/etc# readprofile -m System.map | sort -nr | head -50 >> 25774 *unknown* >> 14692 total 0.0080 >> 3335 __copy_user 4.7643 >> 1225 do_ade 1.5625 >> 1077 handle_adel_int 19.2321 >> 847 r4k_wait 70.5833 >> 605 r4k_dma_cache_wback_inv 3.4375 >> 472 do_dsemulret 2.5652 >> 435 __do_softirq 2.0913 >> 429 ag71xx_poll 0.4239 >> 393 kfree 1.7545 >> 344 __bzero 0.9663 >> 285 get_page_from_freelist 0.2563 >> 285 __kmalloc 0.9628 > > > > > >> 2009/12/7 Yongheng Qi <je...@gm...> >> >> I have modify insmod oprofile timer=1, but >>> cat /dev/oprofile/cpu_type >>> mips/24K >>> >>> I don't know why. >>> >>> I can't where should set oprofile.timer=1 and how use it. >>> >>> Please tell me. >>> >>> Thanks >>> >>> 2009/12/7 Sam Liao <ph...@gm...> >>> >>> After use oprofile.timer=1, please make sure: >>>> cat /dev/oprofile/cpu_type is "timer". >>>> >>>> Or you did not actually make things work. >>>> For most condition this should work, which you can check by the >>>> /dev/oprofile/stats/cpu0/* files. >>>> We should get some samples in kernel. >>>> >>>> If timer mode can not make you get any sample yet, then I have no >>>> further suggestion, maybe you need update bsp or kernel. >>>> >>>> -Sam >>>> --- >>>> >>>> >>>> On Mon, Dec 7, 2009 at 1:19 PM, Yongheng Qi <je...@gm...> wrote: >>>>> I had try the .timer=1 at the mode parameters, but the result is the >>>> same >>>>> bad and the error message is the same. >>>>> >>>>> root@OpenWrt:/# opreport -l >>>>> opreport error: No sample file found: try running opcontrol --dump >>>>> or specify a session containing sample files >>>>> >>>>> >>>>> 2009/12/6 Yongheng Qi <je...@gm...> >>>>>> Dear sam >>>>>> >>>>>> How to set the oprofile.timer=1 ? where set? Please tell me. >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> 2009/12/6 Sam Liao <ph...@gm...> >>>>>>> Please check the document, you can set to the timer mode from boot >>>>>>> line with "oprofile.timer=1" option. >>>>>>> >>>>>>> -Sam >>>>>>> >>>>>>> On Sun, Dec 6, 2009 at 2:56 PM, Yongheng Qi <je...@gm...> >>>> wrote: >>>>>>>> Dear Sam, Thanks your replay. >>>>>>>> >>>>>>>> 2009/12/5 Sam Liao <ph...@gm...> >>>>>>>>> There are something you can try: >>>>>>>>> >>>>>>>>> 1. run oprofile on timer mode. >>>>>>>> I run oprofile on openwrt, it not support modprole, on use >>>> insmod, >>>>>>>> I run >>>>>>>> insmode oproble timer =1, not purpose. >>>>>>>> >>>>>>>>> 2. do not use session option, just opreport -l directly. >>>>>>>> this I try to use , but the result is the same. >>>>>>>> >>>>>>>>> 3. check kernel message. >>>>>>>> kernel message I use dmesg and logread, not message about >>>> oproble. >>>>>>>>> 4. check oprofile stats under /dev/oprofile/stats directory. >>>>>>>> in the /dev/oprofile/stats, all file value is 0. >>>>>>>>> With these commands you can make sure it's a kernel problem or >>>> UP's >>>>>>>>> problem. >>>>>>>>> >>>>>>>>> -Sam >>>>>>>>> >>>>>>>>> On Fri, Dec 4, 2009 at 4:58 PM, Yongheng Qi <je...@gm...> >>>> wrote: >>>>>>>>>> I read the linux kernel profile document: >>>>>>>>>> >>>>>>>>>> Add "profile=2" to the kernel command line. >>>>>>>>>> >>>>>>>>>> Get the source (see Changes for required version) from >>>>>>>>>> http://oprofile.sourceforge.net/ and add "idle=poll" to the >>>> kernel >>>>>>>>>> command >>>>>>>>>> line. >>>>>>>>>> >>>>>>>>>> I don't know how to add the kernel command on the opewrt and >>>> emabled >>>>>>>>>> system. >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> >>>>>>>>>> 2009/12/4 Joe Hewitt <joe...@gm...> >>>>>>>>>>> I believe it supports or cpu_type won't be mips/24K. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Once you setup session-dir in --setup you don't have to setup >>>> it >>>>>>>>>>> again. It's strange that you can issue 'opcontrol --dump >>>>>>>>>>> --session-dir=/var/lib/oprofile', on my x64 box, this command >>>>>>>>>>> returns >>>>>>>>>>> 'Option "--setup" not valid with "--dump"'. >>>>>>>>>>> >>>>>>>>>>> what do you get if you 'cd /var/lib/oprofile/samples'? >>>>>>>>>>> >>>>>>>>>>> On Fri, Dec 4, 2009 at 10:23 AM, Yongheng Qi < >>>> je...@gm...> >>>>>>>>>>> wrote: >>>>>>>>>>>> OK, Thanks >>>>>>>>>>>> >>>>>>>>>>>> root@OpenWrt:/proc# cat /dev/oprofile/cpu_type >>>>>>>>>>>> mips/24K >>>>>>>>>>>> >>>>>>>>>>>> The oprofiled.log: >>>>>>>>>>>> >>>>>>>>>>>> Thu Jan 1 09:42:46 1970 >>>>>>>>>>>> >>>>>>>>>>>> Nr. sample dumps: 6 >>>>>>>>>>>> Nr. non-backtrace samples: 0 >>>>>>>>>>>> Nr. kernel samples: 0 >>>>>>>>>>>> Nr. lost samples (no kernel/user): 0 >>>>>>>>>>>> Nr. lost kernel samples: 0 >>>>>>>>>>>> Nr. incomplete code structs: 0 >>>>>>>>>>>> Nr. samples lost due to sample file open failure: 0 >>>>>>>>>>>> Nr. samples lost due to no permanent mapping: 0 >>>>>>>>>>>> Nr. event lost due to buffer overflow: 0 >>>>>>>>>>>> Nr. samples lost due to no mapping: 0 >>>>>>>>>>>> Nr. backtraces skipped due to no file mapping: 0 >>>>>>>>>>>> Nr. samples lost due to no mm: 0 >>>>>>>>>>>> Nr. samples lost cpu buffer overflow: 0 >>>>>>>>>>>> Nr. samples received: 0 >>>>>>>>>>>> Nr. backtrace aborted: 0 >>>>>>>>>>>> Nr. samples lost invalid pc: 0 >>>>>>>>>>>> >>>>>>>>>>>> oprofile could support MIPS 24K? >>>>>>>>>>>> >>>>>>>>>>>> 2009/12/3 Joe Hewitt <joe...@gm...> >>>>>>>>>>>>> You can attach your oprofiled.log, cat >>>> /dev/oprofile/cpu_type >>>>>>>>>>>>> and >>>>>>>>>>>>> the >>>>>>>>>>>>> command sequence etc. thus guys here can help diagnosis. >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Dec 3, 2009 at 2:13 PM, Yongheng Qi < >>>> je...@gm...> >>>>>>>>>>>>> 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...@gm...> >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> <je...@gm...> >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> opr...@li... >>>>>>>>>>>>>>>> >>>> https://lists.sourceforge.net/lists/listinfo/oprofile-list >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Joe H >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Yongheng Qi >>>>>>>>>>>>>> >>>>>>>>>>>>>> Mobile: +86 1390 119 7481 >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Joe H >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Yongheng Qi >>>>>>>>>>>> >>>>>>>>>>>> Mobile: +86 1390 119 7481 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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 >>>>>>>>>> opr...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/oprofile-list >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Yongheng Qi >>>>>>>> >>>>>>>> Mobile: +86 1390 119 7481 >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Yongheng Qi >>>>>> >>>>>> Mobile: +86 1390 119 7481 >>>>> >>>>> >>>>> -- >>>>> Yongheng Qi >>>>> >>>>> Mobile: +86 1390 119 7481 >>>>> >>> >>> >>> -- >>> Yongheng Qi >>> >>> Mobile: +86 1390 119 7481 >>> >> >> >> -- >> 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 > opr...@li... > https://lists.sourceforge.net/lists/listinfo/oprofile-list |