linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] perf/x86: fixes and improvement for Intel Atom PEBS support
@ 2015-12-02 18:28 Stephane Eranian
  2015-12-02 18:28 ` [PATCH v1 1/2] perf/x86: fix PEBS and LBR issues on Intel Atom Stephane Eranian
  2015-12-02 18:28 ` [PATCH v1 2/2] perf/x86: add cycles:pp alias for " Stephane Eranian
  0 siblings, 2 replies; 5+ messages in thread
From: Stephane Eranian @ 2015-12-02 18:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: acme, peterz, mingo, ak, kan.liang

This short series fixes total breakage of Intel Atom PEBS support in recent kernels.
The problems were introduced with the changes in the PEBS logic to handle 
deeper buffer.

The first patch fixes PEBS and LBR problems, including NULL pointers, wrong pointer
arithmetic, and wrong pebs record layout assumption.

The second patch adds an alias for cycles:pp to Intel Atom given that perf record/top
uses cycles:pp nowadays.

Stephane Eranian (2):
  perf/x86: fix PEBS and LBR issues on Intel Atom
  perf/x86: enable cycles:pp for Intel Atom

 arch/x86/kernel/cpu/perf_event_intel.c     | 30 ++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/perf_event_intel_ds.c  | 11 ++++++++++-
 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 11 +++++++----
 3 files changed, 47 insertions(+), 5 deletions(-)

-- 
2.5.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-02 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-02 18:28 [PATCH v1 0/2] perf/x86: fixes and improvement for Intel Atom PEBS support Stephane Eranian
2015-12-02 18:28 ` [PATCH v1 1/2] perf/x86: fix PEBS and LBR issues on Intel Atom Stephane Eranian
2015-12-02 18:28 ` [PATCH v1 2/2] perf/x86: add cycles:pp alias for " Stephane Eranian
2015-12-02 19:37   ` Liang, Kan
2015-12-02 22:28     ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).