diff options
Diffstat (limited to 'arch/mips/oprofile/op_impl.h')
| -rw-r--r-- | arch/mips/oprofile/op_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/oprofile/op_impl.h b/arch/mips/oprofile/op_impl.h index 9f5cdff041b..7c2da27ece0 100644 --- a/arch/mips/oprofile/op_impl.h +++ b/arch/mips/oprofile/op_impl.h @@ -10,6 +10,8 @@ #ifndef OP_IMPL_H #define OP_IMPL_H 1 +extern int (*perf_irq)(void); + /* Per-counter configuration as set via oprofilefs. */ struct op_counter_config { unsigned long enabled; @@ -25,7 +27,7 @@ struct op_counter_config { /* Per-architecture configury and hooks. */ struct op_mips_model { void (*reg_setup) (struct op_counter_config *); - void (*cpu_setup) (void * dummy); + void (*cpu_setup) (void *dummy); int (*init)(void); void (*exit)(void); void (*cpu_start)(void *args); @@ -34,4 +36,6 @@ struct op_mips_model { unsigned char num_counters; }; +void op_mips_backtrace(struct pt_regs * const regs, unsigned int depth); + #endif |
