Re: Basic perf PMU support for Haswell v14

From: Andi Kleen
Date: Wed Jun 19 2013 - 15:39:01 EST


> Ok, this series looks good at first sight: you've slightly overdone the
> checkpatch style changes without checking that the result is actually an
> improvement - I've fixed those few places.
>
> I'll give it a bit of testing.

Thanks for testing and merging.

I still have some other patches to enable other features,
on top of this.

I'll repost them in hopefully logical groups.

If you want them grouped in some particular way or other
requirements please let me know.

https://git.kernel.org/cgit/linux/kernel/git/ak/linux-misc.git/log/?h=hsw/pmu6

FWIW the outstanding patches do:

- Some changes to make CPU event aliases more user friendly:

print aliases in perf list, avoid the need to specify cpu//,
automatically enable PEBS for mem-loads/stores,
Allow aliases to specify "precise"

This is all not Haswell specific, but makes
the TSX changes below a lot more user friendly.

Most of this is actually user mode only, except for the
"precise" alias changes.

- TSX changes: perf stat -T, TSX event aliases, support for
reporting the abort cause from PEBS, plus the user tools
support for all of this

- Full width counting (generally useful, but also avoids
a TSX checkpoint problem)

- Support TSX filtering in the the LBR, plus a workaround
for the duplicated abort record.

Plus also on top (not in my git tree):

- Zheng's call graph lbr mode patches, to allow user mode -g without
frame pointers or full dwarf. This has a few known problems, but is still
useful enough that it should be available as a option.

-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/