4 /* Per-counter configuration as set via oprofilefs. */
5 struct op_counter_config
{
11 /* Dummy values for userspace tool compliance */
14 unsigned long unit_mask
;
17 /* Per-architecture configury and hooks. */
19 void (*reg_setup
)(struct op_counter_config
*);
20 int (*create_files
)(struct super_block
*sb
, struct dentry
*dir
);
21 void (*cpu_setup
)(void *dummy
);
24 void (*cpu_start
)(void *args
);
25 void (*cpu_stop
)(void *args
);
27 unsigned char num_counters
;
30 /* arch/sh/oprofile/common.c */
31 extern void sh_backtrace(struct pt_regs
* const regs
, unsigned int depth
);
33 #endif /* __OP_IMPL_H */