Skip to content

perf, x86: Updates and cleanups

Robert Richter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf, x86: Rename Intel specific macrosarch/x86/include/asm/kvm_host.h arch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event.c +4 more+50 -511 reply
2/4perf, x86: Move Intel specific code to intel_pmu_init()arch/x86/kernel/cpu/perf_event.c arch/x86/kernel/cpu/perf_event_intel.c+35 -321 reply
3/4perf, amd: Unify AMD's generic and family 15h pmusarch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event_amd.c arch/x86/oprofile/op_model_amd.c+49 -611 reply
4/4perf, x86: Improve debug output in check_hw_exists()arch/x86/kernel/cpu/perf_event.c+2 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] perf, x86: Updates and cleanups

I separated these for patches from my original NB counter implementation. They are independent and contain updates and cleanups. The most important change is the pmu unification. That code also changes pmu setup for core perfctr from family detection to cpuid check.

-Robert

Robert Richter (4):
perf, x86: Rename Intel specific macros
perf, x86: Move Intel specific code to intel_pmu_init() perf, amd: Unify AMD's generic and family 15h pmus perf, x86: Improve debug output in check_hw_exists()

 arch/x86/include/asm/kvm_host.h           |    4 +-
 arch/x86/include/asm/perf_event.h         |   20 +++---
 arch/x86/kernel/cpu/perf_event.c          |   59 ++++------------
 arch/x86/kernel/cpu/perf_event_amd.c      |  103 +++++++++++++----------------
 arch/x86/kernel/cpu/perf_event_intel.c    |   47 +++++++++++--
 arch/x86/kernel/cpu/perf_event_intel_ds.c |    4 +-
 arch/x86/kernel/cpu/perf_event_p4.c       |    2 +-
 arch/x86/kvm/pmu.c                        |   22 +++---
 arch/x86/oprofile/op_model_amd.c          |    4 +-
 9 files changed, 128 insertions(+), 137 deletions(-)
Signature · 1 line
1.7.8.4