On 11/16/2009 08:17 PM, stephane eranian wrote:
> Corey,
>
> Patch applied.
> I dropped the modifications to perf_examples/Makefile.

Oops.  I didn't mean to submit that change; thanks for catching that.
>
> I also improved self_count.c so it would compile for non-x86. I don't know
> if perf_events for Power does enable user level read of the counters. I think
> there is an instruction to do this. Once this is enabled in perf_events, then
> you should be able to easily update self_count.c.

It's supposed to, but I've never tested it.  The counters are read via a 
mfspr instructions.

>
> Thanks for your contribution.
>

I'll give the latest git a whirl tomorrow to make sure I didn't leave 
any changes out the patch.

Thanks!


- Corey

Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
cjash...@us.ibm.com

------------------------------------------------------------------------------
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
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to