lkml.org 
[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-06-30 13:59    [W:0.373 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site