Messages in this thread | | | Date | Tue, 30 Jun 2009 13:57:32 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/2] perf_counter: tools: Make :u and :k exclude hypervisor |
| |
* Paul Mackerras <paulus@samba.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
| |