for oprofile_perf_{init,
exit} provided by linux/oprofile.h. This allows cleaning of other
architecture specific implementations too.
Cc: sta...@kernel.org # 37.x
Signed-off-by: Ari Kauppi kau...@papupata.org
Acked-by: Will Deacon will.dea...@arm.com
Signed-off-by: Robert Richter
On 20.01.11 04:42:24, Will Deacon wrote:
Hi Ari,
Always allow backtrace when using oprofile on ARM, even if a PMU
isn't present.
Restores functionality originally introduced in
1b7b56982fdcd9d85effd76f3928cf5d6eb26155 by Richard Purdie.
Well spotted, I'd forgotten we still want
On 20.01.11 10:52:39, Robert Richter wrote:
I would like to go even further, see the diff below.
-Robert
---
arch/arm/oprofile/common.c | 45 ---
1 files changed, 25 insertions(+), 20 deletions(-)
diff --git a/arch/arm/oprofile/common.c b
On 20.01.11 05:17:16, Ari Kauppi wrote:
@@ -91,6 +79,30 @@ static struct frame_tail* user_backtrace(struct
frame_tail *tail)
return buftail[0].fp-1;
}
+#else
+
+static int oprofile_arch_init(struct oprofile_operations *ops)
+{
+ pr_info(oprofile: hardware counters not