No samples collected

View: New views
5 Messages — Rating Filter:   Alert me  

No samples collected

by Arabinda Verma-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello List,
 
I am trying to run Oprofile 0.9.5 on ARMv6 based target.
 
The CPU on target is S3C64100 a ARMv6 processor. I have compiled the kernel 2.6.21 with following config options
 
...
CONFIG_ARMC6=y
CONFIG_ARM11_CORE=y
...
...
CONFIG_PROFILING=y
CONFIG_OPROFILE=y
...
...
 
Oprofile 0.9.5 and libpopt was compiled. The compilation and installation went through smoothly. Have I missed any thing while compilation? Or the libpopt was incompatible with oprofile 0.9.5.
 
I have used following sequence of command and setup for profiling.
 
Setup:
opcontrol --no-vmlinux --image=all --callgraph=20 --setup
 
Start:
opcontrol --start
The Oprofile Daemon start without any error.
 
After letting it run for couple of minutes, profiling was stopped.
opcontrol --stop
 
Then dumped the data with
opcontrol --dump
 
The result with
opreport --callgraph.
 
The opreport command gives following output
error: no sample files found: profile specification too strict ?
 
The kernel boot message detects the ARMv6 with following message
Oprofile: using ARMv6
 
The /dev/oprofile is mounted.
 
Your help will be highly appreciated.
 
Thanks,
Arabinda
 
 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No samples collected

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Arabinda Verma wrote:

> Hello List,
>
> I am trying to run Oprofile 0.9.5 on ARMv6 based target.
>
> The CPU on target is S3C64100 a ARMv6 processor. I have compiled the kernel
> 2.6.21 with following config options
>
> ...
> CONFIG_ARMC6=y
> CONFIG_ARM11_CORE=y
> ...
> ...
>  CONFIG_PROFILING=y
> CONFIG_OPROFILE=y
> ...
> ...
>
> Oprofile 0.9.5 and libpopt was compiled. The compilation and installation
> went through smoothly. Have I missed any thing while compilation? Or the
> libpopt was incompatible with oprofile 0.9.5.
>
> I have used following sequence of command and setup for profiling.
>
> Setup:
> opcontrol --no-vmlinux --image=all --callgraph=20 --setup
>
> Start:
> opcontrol --start

Add '--verbose' to your start command and make sure the oprofile daemon is
starting with the default session-dir . . . /var/lib/oprofile.  If it's not,
then deinit oprofile and do one of the following:
    1) rm /root/.oprofile/daemonrc (and redo your setup commands) or
    2) run 'opcontrol --setup --session-dir=/var/lib/oprofile' and restart oprofile

-Maynard

> The Oprofile Daemon start without any error.
>
> After letting it run for couple of minutes, profiling was stopped.
> opcontrol --stop
>
> Then dumped the data with
> opcontrol --dump
>
> The result with
> opreport --callgraph.
>
> The opreport command gives following output
> error: no sample files found: profile specification too strict ?
>
> The kernel boot message detects the ARMv6 with following message
> Oprofile: using ARMv6
>
> The /dev/oprofile is mounted.
>
> Your help will be highly appreciated.
>
> Thanks,
> Arabinda
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@...
> https://lists.sourceforge.net/lists/listinfo/oprofile-list


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No samples collected

by Arabinda Verma-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Maynard for the reply.
 
I have tried as you have advised. It is happily taking the detault path /var/lib/oprofile.
 
The file system is mounted through the NFS on host. Can this be an issue?
 
-Arabinda

On Tue, Nov 3, 2009 at 9:08 PM, Maynard Johnson <maynardj@...> wrote:
Arabinda Verma wrote:
Hello List,

I am trying to run Oprofile 0.9.5 on ARMv6 based target.

The CPU on target is S3C64100 a ARMv6 processor. I have compiled the kernel
2.6.21 with following config options

...
CONFIG_ARMC6=y
CONFIG_ARM11_CORE=y
...
...
 CONFIG_PROFILING=y
CONFIG_OPROFILE=y
...
...

Oprofile 0.9.5 and libpopt was compiled. The compilation and installation
went through smoothly. Have I missed any thing while compilation? Or the
libpopt was incompatible with oprofile 0.9.5.

I have used following sequence of command and setup for profiling.

Setup:
opcontrol --no-vmlinux --image=all --callgraph=20 --setup

Start:
opcontrol --start

Add '--verbose' to your start command and make sure the oprofile daemon is starting with the default session-dir . . . /var/lib/oprofile.  If it's not, then deinit oprofile and do one of the following:
  1) rm /root/.oprofile/daemonrc (and redo your setup commands) or
  2) run 'opcontrol --setup --session-dir=/var/lib/oprofile' and restart oprofile

-Maynard

The Oprofile Daemon start without any error.

After letting it run for couple of minutes, profiling was stopped.
opcontrol --stop

Then dumped the data with
opcontrol --dump

The result with
opreport --callgraph.

The opreport command gives following output
error: no sample files found: profile specification too strict ?

The kernel boot message detects the ARMv6 with following message
Oprofile: using ARMv6

The /dev/oprofile is mounted.

Your help will be highly appreciated.

Thanks,
Arabinda



------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference


------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No samples collected

by Sam Liao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe you can try start oprofile with timer mode in case this processor is not support well yet.

-Sam

On Thu, Nov 5, 2009 at 12:00 PM, Arabinda Verma <arabinda.verma@...> wrote:
Thanks Maynard for the reply.
 
I have tried as you have advised. It is happily taking the detault path /var/lib/oprofile.
 
The file system is mounted through the NFS on host. Can this be an issue?
 
-Arabinda

On Tue, Nov 3, 2009 at 9:08 PM, Maynard Johnson <maynardj@...> wrote:
Arabinda Verma wrote:
Hello List,

I am trying to run Oprofile 0.9.5 on ARMv6 based target.

The CPU on target is S3C64100 a ARMv6 processor. I have compiled the kernel
2.6.21 with following config options

...
CONFIG_ARMC6=y
CONFIG_ARM11_CORE=y
...
...
 CONFIG_PROFILING=y
CONFIG_OPROFILE=y
...
...

Oprofile 0.9.5 and libpopt was compiled. The compilation and installation
went through smoothly. Have I missed any thing while compilation? Or the
libpopt was incompatible with oprofile 0.9.5.

I have used following sequence of command and setup for profiling.

Setup:
opcontrol --no-vmlinux --image=all --callgraph=20 --setup

Start:
opcontrol --start

Add '--verbose' to your start command and make sure the oprofile daemon is starting with the default session-dir . . . /var/lib/oprofile.  If it's not, then deinit oprofile and do one of the following:
  1) rm /root/.oprofile/daemonrc (and redo your setup commands) or
  2) run 'opcontrol --setup --session-dir=/var/lib/oprofile' and restart oprofile

-Maynard

The Oprofile Daemon start without any error.

After letting it run for couple of minutes, profiling was stopped.
opcontrol --stop

Then dumped the data with
opcontrol --dump

The result with
opreport --callgraph.

The opreport command gives following output
error: no sample files found: profile specification too strict ?

The kernel boot message detects the ARMv6 with following message
Oprofile: using ARMv6

The /dev/oprofile is mounted.

Your help will be highly appreciated.

Thanks,
Arabinda



------------------------------------------------------------------------

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference


------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Re: No samples collected

by Maynard Johnson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sam Liao wrote:
> Maybe you can try start oprofile with timer mode in case this processor is
> not support well yet.
ARMv6 has been supported in oprofile userspace since 0.9.3, so I would certainly
expect kernel 2.6.21 is new enough to support the kernel portion.

*Richard*, do you have any words of wisdom for Sam?  My experience running on
embedded systems is nil.

-Maynard

>
> -Sam
>
> On Thu, Nov 5, 2009 at 12:00 PM, Arabinda Verma <arabinda.verma@...>wrote:
>
>> Thanks Maynard for the reply.
>>
>> I have tried as you have advised. It is happily taking the detault path
>> /var/lib/oprofile.
>>
>> The file system is mounted through the NFS on host. Can this be an issue?
>>
>> -Arabinda
>>
>> On Tue, Nov 3, 2009 at 9:08 PM, Maynard Johnson <maynardj@...>wrote:
>>
>>> Arabinda Verma wrote:
>>>
>>>> Hello List,
>>>>
>>>> I am trying to run Oprofile 0.9.5 on ARMv6 based target.
>>>>
>>>> The CPU on target is S3C64100 a ARMv6 processor. I have compiled the
>>>> kernel
>>>> 2.6.21 with following config options
>>>>
>>>> ...
>>>> CONFIG_ARMC6=y
>>>> CONFIG_ARM11_CORE=y
>>>> ...
>>>> ...
>>>>  CONFIG_PROFILING=y
>>>> CONFIG_OPROFILE=y
>>>> ...
>>>> ...
>>>>
>>>> Oprofile 0.9.5 and libpopt was compiled. The compilation and installation
>>>> went through smoothly. Have I missed any thing while compilation? Or the
>>>> libpopt was incompatible with oprofile 0.9.5.
>>>>
>>>> I have used following sequence of command and setup for profiling.
>>>>
>>>> Setup:
>>>> opcontrol --no-vmlinux --image=all --callgraph=20 --setup
>>>>
>>>> Start:
>>>> opcontrol --start
>>>>
>>> Add '--verbose' to your start command and make sure the oprofile daemon is
>>> starting with the default session-dir . . . /var/lib/oprofile.  If it's not,
>>> then deinit oprofile and do one of the following:
>>>   1) rm /root/.oprofile/daemonrc (and redo your setup commands) or
>>>   2) run 'opcontrol --setup --session-dir=/var/lib/oprofile' and restart
>>> oprofile
>>>
>>> -Maynard
>>>
>>>  The Oprofile Daemon start without any error.
>>>> After letting it run for couple of minutes, profiling was stopped.
>>>> opcontrol --stop
>>>>
>>>> Then dumped the data with
>>>> opcontrol --dump
>>>>
>>>> The result with
>>>> opreport --callgraph.
>>>>
>>>> The opreport command gives following output
>>>> error: no sample files found: profile specification too strict ?
>>>>
>>>> The kernel boot message detects the ARMv6 with following message
>>>> Oprofile: using ARMv6
>>>>
>>>> The /dev/oprofile is mounted.
>>>>
>>>> Your help will be highly appreciated.
>>>>
>>>> Thanks,
>>>> Arabinda
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>>> is the only developer event you need to attend this year. Jumpstart your
>>>> developing skills, take BlackBerry mobile applications to market and stay
>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>>> http://p.sf.net/sfu/devconference
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> oprofile-list mailing list
>>>> oprofile-list@...
>>>> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> oprofile-list mailing list
>> oprofile-list@...
>> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>>
>>
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list