updates for oprofile
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | Revert "oprofile: discover counters for op ppro too"arch/ arch/ | +4 | 0 replies | |
| 2/23 | x86/oprofile: moving arch_perfmon counter setup to op_x86_model_spec.initarch/ arch/ arch/ | +17 | 1 reply | |
| 3/23 | x86/oprofile: minor style changes in struct op_x86_model_specarch/ | +11 | 0 replies | |
| 4/23 | oprofile: remove irq_flags in struct op_entryinclude/ | +0 | 0 replies | |
| 5/23 | oprofile: remove obselete include headersdrivers/ | +0 | 0 replies | |
| 6/23 | x86/oprofile: remove #ifdefs in ibs functionsarch/ | +46 | 0 replies | |
| 7/23 | x86/oprofile: simplify AMD cpu init codearch/ | +7 | 0 replies | |
| 8/23 | x86/oprofile: move common macros to op_x86_model.harch/ arch/ arch/ +1 more | +9 | 0 replies | |
| 9/23 | x86/oprofile: remove MSR macros for AMD cpusarch/ | +12 | 0 replies | |
| 10/23 | x86/oprofile: remove MSR macros for ppro cpusarch/ | +8 | 0 replies | |
| 11/23 | x86/oprofile: remove MSR macros for p4 cpusarch/ | +19 | 0 replies | |
| 12/23 | x86/oprofile: fix and cleanup CTRL_SET_* macrosarch/ arch/ | +10 | 0 replies | |
| 13/23 | x86/oprofile: remove unused macros for AMD virtualization profilingarch/ | +0 | 0 replies | |
| 14/23 | x86/oprofile: pass the model to setup_ctrs() functionsarch/ arch/ arch/ +2 more | +9 | 0 replies | |
| 15/23 | x86/oprofile: replace macros to calculate control registerarch/ arch/ arch/ +1 more | +60 | 0 replies | |
| 16/23 | x86/oprofile: replace CTR_OVERFLOWED macrosarch/ arch/ arch/ | +15 | 0 replies | |
| 17/23 | x86/oprofile: replace CTRL_SET_*ACTIVE macrosarch/ arch/ arch/ | +16 | 0 replies | |
| 18/23 | x86/oprofile: replace CTR*_IS_RESERVED macrosarch/ arch/ arch/ +1 more | +15 | 0 replies | |
| 19/23 | x86/oprofile: use 64 bit wrmsr functionsarch/ arch/ | +10 | 2 replies | |
| 20/23 | x86/oprofile: use 64 bit values to save MSR statesarch/ arch/ | +10 | 0 replies | |
| 21/23 | x86/oprofile: remove some local variables in MSR save/restore functionsarch/ | +4 | 0 replies | |
| 22/23 | x86/oprofile: use 64 bit values in IBS functionsarch/ | +61 | 0 replies | |
| 23/23 | x86/oprofile: introduce oprofile_add_data64()arch/ drivers/ include/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/23] updates for oprofile
These patches are updates for oprofile, mainly for x86. Most patches for x86 replace many macro definitions by function calls and implement internal 64 bit usage for MSR access. The code is now better readable and maintainable. Future changes can be made easier.
Also, struct op_x86_model_spec has been extended to better describe the x86 model. This patch series introduces common functions that can be used by all x86 models. It is a first step to merge similar model specific code and to get a common code base for all models.
Another change is the rework of arch_perfmon init code. There was model specific code in nmi_int.c. This code is moved to op_model_ppro.c by using the init function pointer in struct op_x86_model_spec.
There are no functional changes in this patch set, it only contains cleanups and reworks.
The following changes since commit 0886751c5d8b19fcee2e65d34ae21c9111e652a9:
Robert Richter (1):
Merge commit 'v2.6.30' into oprofile/master
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git master
-Robert
-----------
Robert Richter (23):
Revert "oprofile: discover counters for op ppro too" x86/oprofile: moving arch_perfmon counter setup to op_x86_model_spec.init x86/oprofile: minor style changes in struct op_x86_model_spec
oprofile: remove irq_flags in struct op_entry
oprofile: remove obselete include headers
x86/oprofile: remove #ifdefs in ibs functions
x86/oprofile: simplify AMD cpu init code
x86/oprofile: move common macros to op_x86_model.h x86/oprofile: remove MSR macros for AMD cpus
x86/oprofile: remove MSR macros for ppro cpus
x86/oprofile: remove MSR macros for p4 cpus
x86/oprofile: fix and cleanup CTRL_SET_* macros x86/oprofile: remove unused macros for AMD virtualization profiling x86/oprofile: pass the model to setup_ctrs() functions x86/oprofile: replace macros to calculate control register x86/oprofile: replace CTR_OVERFLOWED macros
x86/oprofile: replace CTRL_SET_*ACTIVE macros
x86/oprofile: replace CTR*_IS_RESERVED macros
x86/oprofile: use 64 bit wrmsr functions
x86/oprofile: use 64 bit values to save MSR states x86/oprofile: remove some local variables in MSR save/restore functions x86/oprofile: use 64 bit values in IBS functions x86/oprofile: introduce oprofile_add_data64()
arch/x86/oprofile/nmi_int.c | 98 +++++++------- arch/x86/oprofile/op_model_amd.c | 267 ++++++++++++++++--------------------- arch/x86/oprofile/op_model_p4.c | 60 ++++----- arch/x86/oprofile/op_model_ppro.c | 95 ++++++-------- arch/x86/oprofile/op_x86_model.h | 47 ++++--- drivers/oprofile/cpu_buffer.c | 16 ++- include/linux/oprofile.h | 2 +- 7 files changed, 281 insertions(+), 304 deletions(-)