|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: 2.6.19-rc* and oprofile issues - msg#00091List: linux.oprofile
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
Hi,
I can't seem to get oprofile (0.9.2) working with current rc kernels an my AMD64 platform. All works out of the box with 2.6.18 and earlier. LC_ALL=C opcontrol -s /usr/bin/opcontrol: line 994: /dev/oprofile/0/enabled: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/event: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/count: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/kernel: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/user: No such file or directory /usr/bin/opcontrol: line 994: /dev/oprofile/0/unit_mask: No such file or directory Using 2.6+ OProfile kernel interface. Using log file /var/lib/oprofile/oprofiled.log Daemon started. Profiler running. ll /dev/oprofile/ insgesamt 0 drwxr-xr-x 1 root root 0 27. Okt 06:06 1 drwxr-xr-x 1 root root 0 27. Okt 06:06 2 drwxr-xr-x 1 root root 0 27. Okt 06:06 3 -rw-r--r-- 1 root root 0 27. Okt 06:06 backtrace_depth -rw-r--r-- 1 root root 0 27. Okt 06:06 buffer -rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_size -rw-r--r-- 1 root root 0 27. Okt 06:06 buffer_watershed -rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_buffer_size -rw-r--r-- 1 root root 0 27. Okt 06:06 cpu_type -rw-rw-rw- 1 root root 0 27. Okt 06:06 dump -rw-r--r-- 1 root root 0 27. Okt 06:06 enable -rw-r--r-- 1 root root 0 27. Okt 06:06 pointer_size drwxr-xr-x 1 root root 0 27. Okt 06:06 stats So why isn't there a "0" directory? If I try to use 1 by setting CHOSEN_EVENTS_1=CPU_CLK_UNHALTED:100000:0:1:1 NR_CHOSEN=1 in daemonrc, I get: No events given. Am I doing something wrong or had the rc kernel something changed so that I need trunk version of oprofile? Or is something broken in kernel module? dmesg + .config http://www.prakash.gmxhome.de/linux/2.6.19-rc1-4.txt.bz2 cat /proc/interrupts for 2.6.19-rc1 http://www.prakash.gmxhome.de/linux/irqs19.txt lspci can be found here: http://marc.theaimsgroup.com/?l=linux-kernel&m=115545986619977&w=2 Cheers, -- (Â= =Â) //\ Prakash Punnoor /\\ V_/ \_V
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ oprofile-list mailing list oprofile-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/oprofile-list
Thread at a glance:
Previous Message by Date:Re: [1/2] build failure for E500 CPUs w/ CONFIG_OPROFLE=yHello. Vitaly Wool wrote: > Hello Kumar, >>This makes sense to me since we are just increasing kernel code size >>for code we would never use for an FSL_BOOKE part if we do it the >>other way. I dont think its that much more messy with the ifdef's. > Okay, if you're fine with this patch, is it possible that you include it > into your tree? >>If you want to do the other cleanup as well I've got no issue with >>that, but we really should NOT build in support for 7450 into a >>FSL_BOOKE kernel when reasonably avoidable. > That's fine with me. > As of the cleanups, well... looks to me some more patches will follow > soon, kinda bugfixing ones rather than cleanups first :) The most funny/stupd thing is that the patch existed since May but it never went in: http://patchwork.ozlabs.org/linuxppc/patch?id=5531 > Thanks, > Vitaly WBR, Sergei ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 Next Message by Date:Help to get opannotate working with jdbHI there, I run into a problem where I think jdb module is not working correctly with opannotate. Here is my script to genereate the report files: ln -s /lib/modules/`uname -r`/kernel ko.l opreport -l -p ko.l/. > opreport.log opreport -l > opreport-summary.log opannotate --source -d /usr/src/linux -p ko.l/. > opannotate.log where in opreport.log, I saw a jdb function journal_dirty_data which uses 0.18% CPU, but in opannotate.log, function “journal_dirty_data” is not listed at all. When I run the above script, I did get the following warnings: warning: could not check that the binary file /lib/modules/2.6.9-34.ELsmp/kernel/fs/jbd/jbd.ko has not been modified since the profile was taken. Results may be inaccurate. warning: /jbd could not be found. I am not sure if that will explain what I missed here. BTW, I started oprofile as following: opcontrol --reset opcontrol --start --vmlinux=/usr/src/linux/vmlinux I am trying to understand the breakdown of time consumptions within a function. If there is other ways than opannotate to achieve this, Please let me know. I really appreciate your help. Thanks, -- John Liang ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ oprofile-list mailing list oprofile-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/oprofile-list Previous Message by Thread:Warning: message 1GbyPi-0008I8-9p delayed 72 hoursThis message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 72 hours on the queue on externalmx-1.sourceforge.net. The message identifier is: 1GbyPi-0008I8-9p The subject of the message is: this; morning she didn't answer out I said. I The date of the message is: Mon, 23 Oct 2006 14:55:54 +0200 The address to which the message has not yet been delivered is: oprofile-list@xxxxxxxxxxxxxxxxxxxxx Delay reason: SMTP error from remote mailer after RCPT TO:<oprofile-list@xxxxxxxxxxxxxxxxxxxxx>: host mail.sourceforge.net [66.35.250.206]: 451-Could not complete sender verify callout 451-Could not complete sender verify callout for 451-<oprofile-list@xxxxxxxxxxxxxxxxxxxxx>. 451-The mail server(s) for the domain may be temporarily unreachable, or 451-they may be permanently unreachable from this server. In the latter case, 451-you need to change the address or create an MX record for its domain 451-if it is suppos No action is required on your part. Delivery attempts will continue for some time, and this warning may be repeated at intervals if the message remains undelivered. Eventually the mail delivery software will give up, and when that happens, the message will be returned to you. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 Next Message by Thread:Help to get opannotate working with jdbHI there, I run into a problem where I think jdb module is not working correctly with opannotate. Here is my script to genereate the report files: ln -s /lib/modules/`uname -r`/kernel ko.l opreport -l -p ko.l/. > opreport.log opreport -l > opreport-summary.log opannotate --source -d /usr/src/linux -p ko.l/. > opannotate.log where in opreport.log, I saw a jdb function journal_dirty_data which uses 0.18% CPU, but in opannotate.log, function “journal_dirty_data” is not listed at all. When I run the above script, I did get the following warnings: warning: could not check that the binary file /lib/modules/2.6.9-34.ELsmp/kernel/fs/jbd/jbd.ko has not been modified since the profile was taken. Results may be inaccurate. warning: /jbd could not be found. I am not sure if that will explain what I missed here. BTW, I started oprofile as following: opcontrol --reset opcontrol --start --vmlinux=/usr/src/linux/vmlinux I am trying to understand the breakdown of time consumptions within a function. If there is other ways than opannotate to achieve this, Please let me know. I really appreciate your help. Thanks, -- John Liang ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ oprofile-list mailing list oprofile-list@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/oprofile-list
blog comments powered by Disqus
|
|