aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile/op_impl.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-02-06 21:54:29 -0500
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:30:27 -0400
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 9f5cdff041be..f0121557047d 100644
--- a/arch/mips/oprofile/op_impl.h
+++ b/arch/mips/oprofile/op_impl.h
@@ -10,6 +10,11 @@
10#ifndef OP_IMPL_H 10#ifndef OP_IMPL_H
11#define OP_IMPL_H 1 11#define OP_IMPL_H 1
12 12
13struct pt_regs;
14
15extern void null_perf_irq(struct pt_regs *regs);
16extern void (*perf_irq)(struct pt_regs *regs);
17
13/* Per-counter configuration as set via oprofilefs. */ 18/* Per-counter configuration as set via oprofilefs. */
14struct op_counter_config { 19struct op_counter_config {
15 unsigned long enabled; 20 unsigned long enabled;