[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090630115732.GA7611@elte.hu>
Date: Tue, 30 Jun 2009 13:57:32 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] perf_counter: tools: Make :u and :k exclude
hypervisor
* Paul Mackerras <paulus@...ba.org> wrote:
> Ingo Molnar writes:
>
> > Hm, mind fixing the full range of problems with these flags
> > please?
>
> Sure, looking at it now.
>
> One thing I'd like to do is add complete lists of hardware events
> for each processor so that perf can tell you the full set of
> things you can measure, and can let you ask for them without
> having to know raw event codes. [...]
Excellent.
> [...] I know how to work out which processor we're running on for
> powerpc; for x86 I assume cpuid or something similar is usable
> from userspace, is it?
Yeah. /proc/cpuinfo can be read as well.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists