Skip to content

oprofile fixes and updates for v2.6.34

Robert Richter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15oprofile: remove tracing build dependencyarch/Kconfig+0 -20 replies
2/15oprofile: remove EXPERIMENTAL from the config option descriptionarch/Kconfig init/Kconfig+2 -20 replies
3/15oprofile/x86: remove OPROFILE_IBS config optionarch/Kconfig arch/x86/oprofile/op_model_amd.c+1 -440 replies
4/15oprofile/x86: remove node check in AMD IBS initializationarch/x86/oprofile/op_model_amd.c+0 -100 replies
5/15oprofile/x86: implement IBS cpuid feature detectionarch/x86/oprofile/op_model_amd.c+63 -170 replies
6/15oprofile/x86: implement lsfr pseudo-random number generator for IBSarch/x86/oprofile/op_model_amd.c+23 -00 replies
7/15oprofile/x86: implement randomization for IBS periodic op counterarch/x86/oprofile/op_model_amd.c+63 -60 replies
8/15oprofile/x86: warn user if a counter is already activearch/x86/oprofile/op_model_amd.c arch/x86/oprofile/op_model_ppro.c arch/x86/oprofile/op_x86_model.h+31 -20 replies
9/15oprofile/x86: add comment to counter-in-use warningarch/x86/oprofile/op_x86_model.h+9 -00 replies
10/15oprofile/x86: fix perfctr nmi reservation for mulitplexingarch/x86/oprofile/nmi_int.c arch/x86/oprofile/op_model_amd.c+6 -240 replies
11/15oprofile/x86: use kzalloc() instead of kmalloc()arch/x86/oprofile/nmi_int.c arch/x86/oprofile/op_model_amd.c arch/x86/oprofile/op_model_p4.c +1 more+4 -180 replies
12/15oprofile/x86: fix msr access to reserved countersarch/x86/oprofile/op_model_amd.c+4 -50 replies
13/15perf, x86: make IBS macros available in perf_event.harch/x86/include/asm/perf_event.h arch/x86/oprofile/op_model_amd.c+10 -110 replies
14/15perf, x86: add some IBS macros to perf_event.harch/x86/include/asm/perf_event.h arch/x86/oprofile/op_model_amd.c+6 -40 replies
15/15perf, x86: rename macro in ARCH_PERFMON_EVENTSEL_ENABLEarch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event.c arch/x86/kernel/cpu/perfctr-watchdog.c +2 more+16 -160 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/15] oprofile fixes and updates for v2.6.34

This patch series contains oprofile fixes and updates for v2.6.34. It includes:

* Kconfig updates and fixes (patches 1, 2, 3)
* bug fixes (patches 4, 10, 12)
* IBS cpuid detection (patch 5)
* IBS software randomization (patches 6, 7)
* print warnings if counters are reserved or in use (patches 8, 9)
* code improvements (patch 11)
* x86 updates to perf_event.h to share code between subsystems (patches 13, 14, 15)

See also enclosed changelog.

Ingo, please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core

Thanks,

-Robert

The following changes since commit 724e6d3fe8003c3f60bf404bf22e4e331327c596:
Linus Torvalds (1):

        Linux 2.6.33-rc8

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core

Naga Chumbalkar (1):
oprofile/x86: add comment to counter-in-use warning

Robert Richter (13):
oprofile: remove tracing build dependency
oprofile: remove EXPERIMENTAL from the config option description oprofile/x86: remove OPROFILE_IBS config option oprofile/x86: remove node check in AMD IBS initialization oprofile/x86: implement IBS cpuid feature detection oprofile/x86: implement randomization for IBS periodic op counter oprofile/x86: warn user if a counter is already active oprofile/x86: fix perfctr nmi reservation for mulitplexing oprofile/x86: use kzalloc() instead of kmalloc() oprofile/x86: fix msr access to reserved counters perf, x86: make IBS macros available in perf_event.h perf, x86: add some IBS macros to perf_event.h
perf, x86: rename macro in ARCH_PERFMON_EVENTSEL_ENABLE

Suravee Suthikulpanit (1):
oprofile/x86: implement lsfr pseudo-random number generator for IBS

 arch/Kconfig                           |   18 +--
 arch/x86/include/asm/perf_event.h      |   14 ++-
 arch/x86/kernel/cpu/perf_event.c       |   16 +-
 arch/x86/kernel/cpu/perfctr-watchdog.c |    2 +-
 arch/x86/oprofile/nmi_int.c            |   17 +-
 arch/x86/oprofile/op_model_amd.c       |  261 ++++++++++++++++++++------------
 arch/x86/oprofile/op_model_p4.c        |    6 -
 arch/x86/oprofile/op_model_ppro.c      |   21 ++-
 arch/x86/oprofile/op_x86_model.h       |   20 +++
 init/Kconfig                           |    2 +-
 10 files changed, 227 insertions(+), 150 deletions(-)