oprofile: ARM backtraces and few minors
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 3 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Will Deacon |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] oprofile: ARM backtraces and few minors
Quoted 15 lines · Ari Kauppi
This patchset re-enables ARM backtraces with non-PMU capable CPUs.
In V2 I have tried to address the comments received for the V1 patches.
arch/sh/oprofile/common.cis untouched but should work as earlier.Compile tested with arm/omap2plus_defconfig (with and without
CONFIG_HW_PERF_EVENTS).Ari Kauppi (3):
oprofile: UseCONFIG_HW_PERF_EVENTSforoprofile_perf_initand
friends
oprofile: Provide stubs for oprofile_perf_{init,exit}
ARM: oprofile: Always allow backtraces
Quoted 3 lines
arch/arm/oprofile/common.c | 12 ++---------- include/linux/oprofile.h | 13 +++++++++++-- 2 files changed, 13 insertions(+), 12 deletions(-)
Applied to oprofile/urgent, thanks Ari.
I squashed patch 2 and 3 and modified the commit messages (see below).
Added to .37-stable.
-Robert
commit d14dd7e20d5e526557f5d3cfef4046a642f80924
Author: Ari Kauppi <[email protected]> Date: Thu Jan 20 13:57:19 2011 -0500
ARM: oprofile: Fix backtraces in timer mode
Always allow backtraces when using oprofile on ARM, even if a PMU isn't present. Restores functionality originally introduced in commit 1b7b56982fdcd9d85effd76f3928cf5d6eb26155 ("oprofile: Always allow backtraces on ARM") by Richard Purdie.
It is not that obvious, but there is now only one oprofile_arch_init() function. So the .backtrace callback is available also in timer mode.
Implemented by removing code and using stubs for oprofile_perf_{init, exit} provided by <linux/oprofile.h>. This allows cleaning of other architecture specific implementations too.
commit 1ea1bdf7faa4d0b5293e605f2e1ef1c2c59f6b53
Author: Ari Kauppi <[email protected]> Date: Thu Jan 20 13:57:18 2011 -0500
oprofile: Fix usage of CONFIG_HW_PERF_EVENTS for oprofile_perf_init and friends
The implementations are flagged in Makefile with CONFIG_HW_PERF_EVENTS instead of CONFIG_PERF_EVENTS.
Signature · 2 lines
Advanced Micro Devices, Inc. Operating System Research Center