lkml.org 
[lkml]   [2009]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ia64 support for tools/perf/

* Peter Zijlstra <peterz@infradead.org> wrote:

> On Tue, 2009-11-17 at 09:25 -0800, Luck, Tony wrote:
> > > Btw., are you planning HAVE_PERF_EVENTS support for IA64? (It's nice
> > > stuff, i can only recommend it! ;-)
> >
> > My first goal is getting the s/w events hooked up and working. I'm
> > still wondering about how to get the h/w counters to co-exist with
> > perfmon (which has been part of ia64 API for many years).
>
> A first approach could be to make them mutually exclusive at runtime.
> When there's a perf_event user, perfmon users get FAIL and vs.
>
> This is basically the state for x86 perf_event vs oprofile atm.

Yep, this is probably the least intrusive approach. Mixing the
implementations beyond trivial exclusion would probably be pain.

Ingo


\
 
 \ /
  Last update: 2009-11-18 20:41    [W:0.038 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site