[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    Re: oprofile : Arm Cortex-A9 : error: no sample files found: profile specification too strict ?
From:       Maynard Johnson <maynardj () us ! ibm ! com>
Date:       2012-09-10 13:25:39
Message-ID: 504DEA53.7040806 () us ! ibm ! com
[Download RAW message or body]

On 09/08/2012 08:56 AM, ashish yadav wrote:
> Hi,
> 
> I am new to Oprofile . 
> I used Oprofile for profling Cortex-A9 .
> I getting followings Output :
> 
> root@aisin-rcarh1:~# opcontrol --vmlinux=/boot/vmlinux
> root@aisin-rcarh1:~# opcontrol --start -V
> Parameters used:
> SESSION_DIR /var/lib/oprofile
> LOCK_FILE /var/lib/oprofile/lock
> SAMPLES_DIR /var/lib/oprofile/samples
> CURRENT_SAMPLES_DIR /var/lib/oprofile/samples/current
> CPUTYPE arm/armv7-ca9
> BUF_SIZE default value
> BUF_WATERSHED default value
> CPU_BUF_SIZE default value
> SEPARATE_LIB 0
> SEPARATE_KERNEL 0
> SEPARATE_THREAD 0
> SEPARATE_CPU 0
> CALLGRAPH 0
> VMLINUX /boot/vmlinux
> KERNEL_RANGE
> XENIMAGE none
> XEN_RANGE
> /usr/bin/objdump
> KERNEL_RANGE c0036000,c04cc000
> Using default event: CPU_CYCLES:100000:0:1:1
> executing oprofiled --session-dir=/var/lib/oprofile --separate-lib=0 \
> --separate-kernel=0 --separate-thread=0 --separate-cpu=0 \
> --events=CPU_CYCLES:255:0:100000:0:1:1, --vmlinux=/boot/vmlinux \
>                 --kernel-range=c0036000,c04cc000 --verbose=all
> Events: CPU_CYCLES:255:0:100000:0:1:1,
> Using 2.6+ OProfile kernel interface.
> kernel_start = c0036000, kernel_end = c04cc000
> Reading module info.
> Using log file /var/lib/oprofile/samples/oprofiled.log
> Daemon started.
> Profiler running.
> root@aisin-rcarh1:~# opcontrol --dump
> root@aisin-rcarh1:~# opcontrol --stop
> Stopping profiling.
> root@aisin-rcarh1:~# opcontrol --shutdown
> Killing daemon.
> *root@aisin-rcarh1:~# opreport*
> *WARNING! The OProfile kernel driver reports sample buffer overflows.*
> *Such overflows can result in incorrect sample attribution, invalid sample*
> *files and other symptoms.  See the oprofiled.log for details.*
> *You should adjust your sampling frequency to eliminate (or at least minimize)*
> *these overflows.*

You are running with the "-V" (verbose) option, which results in a lot of oprofile \
overhead, and it's not surprising there would be sample buffer overflows.  Drop the \
verbose from your "opcontrol --start" and that should eliminate this message.

> *error: no sample files found: profile specification too strict ?
Lots of reasons for this.  See \
http://oprofile.sourceforge.net/doc/results.html#no-results.  Also, do 'opcontrol \
--status' and make sure that "Image filter" is "none".

-Maynard
> *
> I am using OProfile 0.9.7 .
> 
> Please let me know what I am doing wrong here .
> How I am able to get Opreport ?
> 
> 
> Thanks
> 
> With Regards
> Ashish
> 
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> 
> 
> 
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic