Hi Stephane,
Do you have some examples of configuring load miss event using IBS ? The
solitary example for IBS shipped with libpfm-3.4 (smpl_amd64_ibs.c) doesn't
show how this can be done. I need values of PMD_IBSDCLINAD (given in
pfmlib_amd64.h) from
the overflow signal handler, much like PEBS records.
I am also reading the documents mentioned by Anoop. It looks like IBS
supports time based sampling and not event based sampling ala PEBS. I am not
sure how much lossy the information would be. Anyways, a related question is
that using IBS, can I get **a set of * * linear addresses for load miss
instructions after kernel sample overflow ?
Sincerely,
Vivek
On Mon, May 5, 2008 at 1:32 PM, Vivek Thakkar <[EMAIL PROTECTED]>
wrote:
> Thanks Stephane and Anoop !
>
> I have linux kernel 2.6.23.9 patched with perfmon2 and I am using
> libpfm-3.4... I hope that is fine, will let you know if I face some issues.
>
> Regards,
> Vivek
>
>
> On Mon, May 5, 2008 at 1:28 PM, stephane eranian <[EMAIL PROTECTED]>
> wrote:
>
> > Vivek,
> >
> > There is IBS support in perfmon since 2.6.24. If you download the
> > latest libpfm, you
> > will find an example (examples/x86) showing how to get access to it
> > using the perfmon
> > interface.
> >
> > If you pull libpfm from CVS, there is a man page (man libpfm_amd64)
> > that describes
> > the IBS support for libpfm,
> >
> > If you need more information, post on this list.
> >
> > On Mon, May 5, 2008 at 6:53 PM, Iyer, Anoop <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > Vivek,
> > >
> > >
> > >
> > > Lightweight profiling is a proposal that will be implemented in future
> > > hardware. Current silicon support IBS only. IBS is documented in the
> > BIOS
> > > and Kernel Developers Guide (Section 2.17, Performance Monitoring) as
> > well
> > > as in the Software Optimization Guide (Appendix G, Guide to IBS). Both
> > these
> > > documents are available online:
> > >
> > >
> > >
> > > http://developer.amd.com/documentation/guides/Pages/default.aspx
> > >
> > >
> > >
> > > If you have specific IBS-related questions that are not addressed in
> > the
> > > BKDG & SWOG, send them my way. Regarding the best perfmon2/libpfm
> > versions
> > > for IBS, I am not the right person to ask. Robert / Stephane?
> > >
> > >
> > >
> > > Anoop
> > >
> > >
> > >
> > >
> > >
> > >
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Vivek
> > > Thakkar
> > > Sent: Sunday, May 04, 2008 8:35 PM
> > > To: [email protected]
> > > Subject: [perfmon2] AMD Barcelona IBS
> > >
> > >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I need to program IBS in Barcelona processors. The event I am looking
> > for
> > > is L2 load cache miss and I need the data addresses for such loads.
> > > Can someone point me to some relevant documentation ?
> > >
> > > I have a link regarding LWP profiling support of AMD but I guess it
> > is not
> > > yet out. Here is the link :
> > >
> > >
> > http://developer.amd.com/assets/HardwareExtensionsforLightweightProfilingPublic20070720.pdf
> > >
> > >
> > >
> > > Is it significantly different from the current IBS support ?
> > >
> > > Also, I have 2.6.23 kernel patched with perfmon. Which libpfm should
> > I use
> > > ? libpfm-3.3 has a sample example for IBS but I am not sure if this is
> > the
> > > best library with the kernel that i have. Please guide.
> > >
> > > Sincerely,
> > > Vivek Thakkar
> > > Graduate Student and Research Assistant
> > > CSC Department, NC State University
> > >
> > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > > Don't miss this year's exciting event. There's still time to save
> > $100.
> > > Use priority code J8TL2D2.
> > >
> > >
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > > _______________________________________________
> > > perfmon2-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
> > >
> > >
> >
>
>
>
> --
> Vivek Thakkar
> Graduate Student and Research Assistant
> CSC Department, NC State University
>
--
Vivek Thakkar
Graduate Student and Research Assistant
CSC Department, NC State University
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel