Re: comments on Performance Counters for Linux (PCL)

From: Andi Kleen
Date: Fri May 29 2009 - 04:46:53 EST


> You're talking about VT stuff, right?

Yes.

> Does that virtualize the PMU too?

A hypervisor can in software, but another common case is a global profiler on
the host to be able to profile all guests too. e.g. xenoprofile is able to do
that.

If you want a full system picture with virtualization that's pretty much
required.

For that you need a concept of more priviledge levels (host user, host sys,
guest user, guest sys)

> Happen to have more details? If they really run in user context their
> priv level would be the same right, otherwise they run in something
> weird, not quite user not quite kernel. Now that might be the case, but
> I'm utterly ignorant on itanic.

See Documentation/ia64/fsys.txt

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/