Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283300

[PATCH v2 0/2] perf/x86: fixes and improvement for Intel Atom PEBS support

From Stephane Eranian <eranian@google.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] perf/x86: fixes and improvement for Intel Atom PEBS support
Date 2015-12-03 21:10 +0100
Message-ID <qBImt-1jF-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

In V2, we removed the alias function specific to Atom use use the one from Core2
because it is identical as suggested by Kan Liang.

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     |  1 +
 arch/x86/kernel/cpu/perf_event_intel_ds.c  | 11 ++++++++++-
 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 11 +++++++----
 3 files changed, 18 insertions(+), 5 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] perf/x86: fixes and improvement for Intel Atom PEBS support Stephane Eranian <eranian@google.com> - 2015-12-03 21:10 +0100
  [PATCH v2 2/2] perf/x86: enable cycles:pp for Intel Atom Stephane Eranian <eranian@google.com> - 2015-12-03 21:10 +0100
    Re: [PATCH v2 2/2] perf/x86: enable cycles:pp for Intel Atom Andi Kleen <ak@linux.intel.com> - 2015-12-03 21:20 +0100
      Re: [PATCH v2 2/2] perf/x86: enable cycles:pp for Intel Atom Stephane Eranian <eranian@google.com> - 2015-12-03 22:50 +0100
  [PATCH v2 1/2] perf/x86: fix PEBS and LBR issues on Intel Atom Stephane Eranian <eranian@google.com> - 2015-12-03 21:10 +0100
    Re: [PATCH v2 1/2] perf/x86: fix PEBS and LBR issues on Intel Atom Peter Zijlstra <peterz@infradead.org> - 2015-12-03 22:00 +0100
      Re: [PATCH v2 1/2] perf/x86: fix PEBS and LBR issues on Intel Atom Andi Kleen <ak@linux.intel.com> - 2015-12-03 22:30 +0100

csiph-web