Re: [PATCH 04/31] perf, core: Add generic intx/intx_checkpointed counter modifiers
From: Andi Kleen
Date: Fri Sep 28 2012 - 11:37:01 EST
On Fri, Sep 28, 2012 at 05:23:27PM +0200, Peter Zijlstra wrote:
> On Fri, 2012-09-28 at 16:53 +0200, Andi Kleen wrote:
> >
> > Also as a selfish reason I would prefer something that is short
> > to type. The qualifiers are quite common in scripts that do
> > measurements here. So I would prefer to keep :t and :c as user
> > interface. But the internal implementation can be adjusted
> > of course.
>
> But since its so very specific to HSW consuming such limited resources
We still have quite a few letters in the Latin alphabet :)
I assume any CPU with TSX will have something like that. PMU is model
specific, but it's obviously something that is needed. So I wouldn't
really call it HSW specific. Something like this will be likely
in many Intel CPUs going forward.
Also I don't know for sure but it wouldn't surprise me if the other
CPUs with transactions (BG etc.) have something similar.
>
> Maybe we can allow some configuration on the userspace side that would
> allow each individual user to be lazy and create shortcuts or aliasses
> of some sort ?
That would likely be a logistical nightmare. You could never send
a measurement script to someone else.
-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/