aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/oprofile/op_impl.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-02-07 02:54:29 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:30:27 +0100
commit54176736f734ca3a1f27416d8e5804981a627076 (patch)
treec304751efa231b2bb8a81eca4f399c122f3cf9fe /arch/mips/oprofile/op_impl.h
parent29c4869946f9182f5d5f76502ac5a4a71b3b3e62 (diff)
More oprofile bits for MIPS32-style performance counters. The code to
bolt this into the actual hardware interrupt is yet missing from this commit. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> FEXPORT(ret_from_fork)
Diffstat (limited to 'arch/mips/oprofile/op_impl.h')
-rw-r--r--arch/mips/oprofile/op_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/oprofile/op_impl.h b/arch/mips/oprofile/op_impl.h
index 9f5cdff041b..f0121557047 100644
--- a/arch/mips/oprofile/op_impl.h
+++ b/arch/mips/oprofile/op_impl.h
@@ -10,6 +10,11 @@
#ifndef OP_IMPL_H
#define OP_IMPL_H 1
+struct pt_regs;
+
+extern void null_perf_irq(struct pt_regs *regs);
+extern void (*perf_irq)(struct pt_regs *regs);
+
/* Per-counter configuration as set via oprofilefs. */
struct op_counter_config {
unsigned long enabled;