2 * @file arch/alpha/oprofile/op_impl.h
4 * @remark Copyright 2002 OProfile authors
5 * @remark Read the file COPYING
7 * @author Richard Henderson <rth@twiddle.net>
15 extern void null_perf_irq(struct pt_regs
*regs
);
16 extern void (*perf_irq
)(struct pt_regs
*regs
);
18 /* Per-counter configuration as set via oprofilefs. */
19 struct op_counter_config
{
20 unsigned long enabled
;
23 /* Dummies because I am too lazy to hack the userspace tools. */
27 unsigned long unit_mask
;
30 /* Per-architecture configury and hooks. */
31 struct op_mips_model
{
32 void (*reg_setup
) (struct op_counter_config
*);
33 void (*cpu_setup
) (void * dummy
);
36 void (*cpu_start
)(void *args
);
37 void (*cpu_stop
)(void *args
);
39 unsigned char num_counters
;