----- Original Message -----
From: oprofile-list-request@lists.sourceforge.net
To: oprofile-list@lists.sourceforge.net
Subject: oprofile-list Digest, Vol 20, Issue 17
Date: Thu, 17 Jan 2008 07:40:28 -0800


Send oprofile-list mailing list submissions to
oprofile-list@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/oprofile-list
or, via email, send a message with subject or body 'help' to
oprofile-list-request@lists.sourceforge.net

You can reach the person managing the list at
oprofile-list-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of oprofile-list digest..."


Today's Topics:

1. oprofile (pavithra D)
2. Opreport Not Producing Vmlinux Image Info (Venkat Kumar)
3. Re: OProfile (Venkat Kumar)
4. Re: OProfile (Venkat Kumar)


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

Message: 1
Date: Thu, 17 Jan 2008 09:07:17 +0530
From: "pavithra D"
Subject: oprofile
To: oprofile-list@lists.sourceforge.net
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

Hi all,
I am pavithra.I am trying to get profiling results for mplayer
application on BF561 using uclinux2007R1-RC3 distribution.It is working in
timer mode.when i do opreport it is giving no samples found,please anyone
suggest me the solution to get profiling results.It will be great help.

Thanks and Regards,
pavithra

===>
Pavithra,

First of all the information you provided here is probably not sufficient enough to answer.
Explain the scenario little more like how you configured,ran,commands you are using to view results, etc.,
You probably will find answer in FAQ's section of Oprofile website.
Good Luck,

Thanks,
Venkat

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Thu, 17 Jan 2008 05:04:57 -0500
From: "Venkat Kumar"
Subject: Opreport Not Producing Vmlinux Image Info
To: oprofile-list@lists.sourceforge.net
Message-ID: <20080117100457.ED85011581F@ws1-7.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"

Despite of setting the path of vmlinux through opcontrol --vmlinux="Path"
command, Opreport is not generating data related to this image file.
It's been configured with "--kernel-support" option.
It's generating data for Dynamically loaded modules & some binaries but
not for Vmlinux.
What's wrong.
Processor - ARM/Xscale3
Oprofile Version: 0.9.3

Thanks,
Venkat

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 3
Date: Thu, 17 Jan 2008 10:40:00 -0500
From: "Venkat Kumar"
Subject: Re: OProfile
To: "Maynard Johnson"
Cc: oprofile-list@lists.sf.net, oprofile-list@lists.sourceforge.net
Message-ID: <20080117154000.44F6C1CE7AB@ws1-6.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"

Despite of setting the path of vmlinux through opcontrol --vmlinux="Path"
command, Opreport is not generating data related to this image file.
It's been configured with "--kernel-support" option.
It's generating data for Dynamically loaded modules & some binaries but
not for Vmlinux.
What's wrong.
Processor - ARM/Xscale3
Oprofile Version: 0.9.3

Thanks,
Venkat

----- Original Message -----
From: "Maynard Johnson"
To: "Venkat Kumar"
Subject: Re: OProfile
Date: Wed, 09 Jan 2008 08:58:35 -0600


Venkat Kumar wrote:
> Hi John,
>
It's best to reply to the entire oprofile-list for your best chance
of getting an answer to questions. I cc'ed the list in my reply
P.S. My name is "Maynard".
> I had succesfully installed OProfile on my ARM/XScale3.
> I am able to profile the Kernel and applications as well.
> But if I want to see the output of only symbols of a particular
> dynamic kernel module ( opreport -l
> --image-path=PATH/kernelmodule.ko ).
The --image-path option should just specify a directory, not the
complete pathname (i.e., do not include the module name). But if
you actually ran this command above with the complete pathname, you
would have gotten an error telling you this.
> It shows the following error.
> error: no sample files found: profile specification too strict ?
> Is it because the kernel module hasn't run for long time to
> generate sample files
That's a possibility. If you don't run opreport with the
--image-path option, do you see a warning sent to stderr that says:
"warning: / could not be found."
If not, then you didn't have samples for that module in the profile.

> or is there any other problem?
>
> At the same time, If I program the counters with some events, How
> are these programmed events and the output generated by opreport
> related to each other?
The output lists the events at the top of the report. The column
order of the events is in the same order as that list.

-Maynard
> The documents available online has not explained this part indetail
I think.
>
> Please clarify.
>
> Thanks,
> Venkat
>
> ----- Original Message -----
> From: "Maynard Johnson"
> To: "Venkat Kumar"
> Subject: Re: OProfile
> Date: Mon, 12 Nov 2007 08:53:24 -0600
>
>
> Venkat Kumar wrote:
> > Hi Folks,
> >
> >
> > I had installed OProfile 0.9.3 version ( latest ) on my
workstation.
> >
> > The Processor is an ARM/Xscale3 processor.
> >
> > I am running Linux version 2.6.18.3
> >
> > I browsed through the code of OProfile Kernel driver and found
> > that there is support for XScale3.
> >
> > But with the user space tools I found that there is no support
> for XScale3.
> >
> > I browsed through that code as well and figured out that there
> > are few structures which needs to be updated with XScale3
> > information other wise it throws an error
> > saying "cpu_type unset is not valid, Force OProfile in timer
> > mode" I updated the structures with XScale3 information and when
> > opcontrol --start is run this error is not shown.
> > (With out these updates when tried to run opcontrol --start,
> > cpu_type error was coming)
> >
> > After the above changes I am able to profile the kernel and
> > applications as well.
> Hello, Venkat,
> Difficult to discern exactly what's wrong without seeing your
> patch. But these are the things you need to add to userspace
> oprofile to support a new processor that the kernel already
> supports:
>
> - Do 'opcontrol --init' and see what the kernel assigns to
> /dev/oprofile/cpu_type. This typically consists of two segments:
> /
> - Create new directory under the existing 'events' directory:
> events//, where '/'
> match what the kernel reported as cpu_type.
> - Add events file and unit_masks file to the new
> directory
> - Update events/Makefile.am to include new directory
> - Update libop/op_cpu_type.c[h], libop/op_events.c, and
> utils/ophelp.c as needed
>
> Good luck.
>
> Regards,
> -Maynard
> >
> > But after profiling if I run the command "opreport -l"
> > It shows the following two lines followed by the data in the
> > format given below. The output shows the speed as 0 MHz. What
> > does this mean?
> > and it also shows that profiling through timer interrupt ( Deos
> > this mean that the processor though has support performance
> > counters doesn't have enough hardware support to generate the
> > interrupt ).
> > Please Clarify...
> >
> > =======================================================
> > CPU: CPU with timer interrupt, speed 0 MHz (estimated)
> > Profiling through timer interrupt
> > =======================================================
> >
> > samples % app name symbol name
> > ................
> > ................
> > ................
> >
> > How will I make sure that the OProfile is profiling precisely?
> >
> >
> > Regards,
> > Venkat
> >
> > -- Want an e-mail address like mine?
> > Get a *free e-mail *account today at www.mail.com
> > !
> >
>
------------------------------------------------------------------------
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a
> browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> >
>
------------------------------------------------------------------------
> >
> > _______________________________________________
> > oprofile-list mailing list
> > oprofile-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oprofile-list
> >
>
>
> -- Are we headed for a recession? * Read more*
> on the Money Portal.
> mail.com Money

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 4
Date: Thu, 17 Jan 2008 10:40:00 -0500
From: "Venkat Kumar"
Subject: Re: OProfile
To: "Maynard Johnson"
Cc: oprofile-list@lists.sf.net, oprofile-list@lists.sourceforge.net
Message-ID: <20080117154000.44F6C1CE7AB@ws1-6.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"

Despite of setting the path of vmlinux through opcontrol --vmlinux="Path"
command, Opreport is not generating data related to this image file.
It's been configured with "--kernel-support" option.
It's generating data for Dynamically loaded modules & some binaries but
not for Vmlinux.
What's wrong.
Processor - ARM/Xscale3
Oprofile Version: 0.9.3

Thanks,
Venkat

----- Original Message -----
From: "Maynard Johnson"
To: "Venkat Kumar"
Subject: Re: OProfile
Date: Wed, 09 Jan 2008 08:58:35 -0600


Venkat Kumar wrote:
> Hi John,
>
It's best to reply to the entire oprofile-list for your best chance
of getting an answer to questions. I cc'ed the list in my reply
P.S. My name is "Maynard".
> I had succesfully installed OProfile on my ARM/XScale3.
> I am able to profile the Kernel and applications as well.
> But if I want to see the output of only symbols of a particular
> dynamic kernel module ( opreport -l
> --image-path=PATH/kernelmodule.ko ).
The --image-path option should just specify a directory, not the
complete pathname (i.e., do not include the module name). But if
you actually ran this command above with the complete pathname, you
would have gotten an error telling you this.
> It shows the following error.
> error: no sample files found: profile specification too strict ?
> Is it because the kernel module hasn't run for long time to
> generate sample files
That's a possibility. If you don't run opreport with the
--image-path option, do you see a warning sent to stderr that says:
"warning: / could not be found."
If not, then you didn't have samples for that module in the profile.

> or is there any other problem?
>
> At the same time, If I program the counters with some events, How
> are these programmed events and the output generated by opreport
> related to each other?
The output lists the events at the top of the report. The column
order of the events is in the same order as that list.

-Maynard
> The documents available online has not explained this part indetail
I think.
>
> Please clarify.
>
> Thanks,
> Venkat
>
> ----- Original Message -----
> From: "Maynard Johnson"
> To: "Venkat Kumar"
> Subject: Re: OProfile
> Date: Mon, 12 Nov 2007 08:53:24 -0600
>
>
> Venkat Kumar wrote:
> > Hi Folks,
> >
> >
> > I had installed OProfile 0.9.3 version ( latest ) on my
workstation.
> >
> > The Processor is an ARM/Xscale3 processor.
> >
> > I am running Linux version 2.6.18.3
> >
> > I browsed through the code of OProfile Kernel driver and found
> > that there is support for XScale3.
> >
> > But with the user space tools I found that there is no support
> for XScale3.
> >
> > I browsed through that code as well and figured out that there
> > are few structures which needs to be updated with XScale3
> > information other wise it throws an error
> > saying "cpu_type unset is not valid, Force OProfile in timer
> > mode" I updated the structures with XScale3 information and when
> > opcontrol --start is run this error is not shown.
> > (With out these updates when tried to run opcontrol --start,
> > cpu_type error was coming)
> >
> > After the above changes I am able to profile the kernel and
> > applications as well.
> Hello, Venkat,
> Difficult to discern exactly what's wrong without seeing your
> patch. But these are the things you need to add to userspace
> oprofile to support a new processor that the kernel already
> supports:
>
> - Do 'opcontrol --init' and see what the kernel assigns to
> /dev/oprofile/cpu_type. This typically consists of two segments:
> /
> - Create new directory under the existing 'events' directory:
> events//, where '/'
> match what the kernel reported as cpu_type.
> - Add events file and unit_masks file to the new
> directory
> - Update events/Makefile.am to include new directory
> - Update libop/op_cpu_type.c[h], libop/op_events.c, and
> utils/ophelp.c as needed
>
> Good luck.
>
> Regards,
> -Maynard
> >
> > But after profiling if I run the command "opreport -l"
> > It shows the following two lines followed by the data in the
> > format given below. The output shows the speed as 0 MHz. What
> > does this mean?
> > and it also shows that profiling through timer interrupt ( Deos
> > this mean that the processor though has support performance
> > counters doesn't have enough hardware support to generate the
> > interrupt ).
> > Please Clarify...
> >
> > =======================================================
> > CPU: CPU with timer interrupt, speed 0 MHz (estimated)
> > Profiling through timer interrupt
> > =======================================================
> >
> > samples % app name symbol name
> > ................
> > ................
> > ................
> >
> > How will I make sure that the OProfile is profiling precisely?
> >
> >
> > Regards,
> > Venkat
> >
> > -- Want an e-mail address like mine?
> > Get a *free e-mail *account today at www.mail.com
> > !
> >
>
------------------------------------------------------------------------
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a
> browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> >
>
------------------------------------------------------------------------
> >
> > _______________________________________________
> > oprofile-list mailing list
> > oprofile-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oprofile-list
> >
>
>
> -- Are we headed for a recession? * Read more*
> on the Money Portal.
> mail.com Money

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

-------------- next part --------------
An HTML attachment was scrubbed...

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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


End of oprofile-list Digest, Vol 20, Issue 17
*********************************************

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!