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>
13 /* Per-counter configuration as set via oprofilefs. */
14 struct op_counter_config
{
15 unsigned long enabled
;
18 /* Dummies because I am too lazy to hack the userspace tools. */
22 unsigned long unit_mask
;
25 /* Per-architecture configury and hooks. */
26 struct op_mips_model
{
27 void (*reg_setup
) (struct op_counter_config
*);
28 void (*cpu_setup
) (void * dummy
);
31 void (*cpu_start
)(void *args
);
32 void (*cpu_stop
)(void *args
);
34 unsigned char num_counters
;