Re: [PATCH 1/2] perf_counter: tools: Make :u and :k excludehypervisor
From: Ingo Molnar
Date: Tue Jun 30 2009 - 07:57:50 EST
* Paul Mackerras <paulus@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/