Re: [tip:perf/core] perf sort: Separate out memory-specific sortkeys

From: Namhyung Kim
Date: Mon Jun 24 2013 - 21:00:44 EST


Hi Andi,

2013-06-25 AM 9:30, Andi Kleen wrote:
On Fri, May 31, 2013 at 04:20:20AM -0700, tip-bot for Namhyung Kim wrote:
perf sort: Separate out memory-specific sort keys

Since they're used only for perf mem, separate out them to a different
dimension so that normal user cannot access them by any chance.

For global/local weights, I'm not entirely sure to place them into the
memory dimension. But it's the only user at this time.

So I was finally able to test with this patch, but
I found it completely breaks TSX weight abort profiling.

It uses weight (global/local), but it's not
running in memory mode.

I'll send a patch to move weight back into
the common keys.

I'm not sure it should move to the common keys as normal perf session won't have those. I guess you need to set up a couple of TSX-specific sort keys like perf mem, if so what about moving the two weights to your table?

Thanks,
Namhyung
--
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/