Re: [PATCH 15/15] perf, tools: Add perf stat --transaction v3

Andi Kleen
2013-06-19T14:46:24Z

> This hard coded list isn't going to work for us on powerpc.
>
> We don't have HLE, so we won't ever have an event for el-start.
>
> I don't quite grok what the cycles-ct is about, checkpointed cycles?

The counter is check pointed on a transaction start, and set back to
the checkpoint when an abort happens. This allows to count the cycles
wasted in aborts, when you subtract from cycles-t.

> But I don't think we have anything equivalent.

But you have cycles-t and tx-start?

I can make el-start, cycles-ct optional

> I guess the simplest option is to make it a per-arch list inside the
> perf tool?

I'm not sure that would be acceptable to the perf maintainers.
Although I'm just guessing, I haven't heard any comments on
this patch recently.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.