mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
30 lines
627 B
C
30 lines
627 B
C
/**
|
|
* @file op_arm_model.h
|
|
* interface to ARM machine specific operations
|
|
*
|
|
* @remark Copyright 2004 Oprofile Authors
|
|
* @remark Read the file COPYING
|
|
*
|
|
* @author Zwane Mwaikambo
|
|
*/
|
|
|
|
#ifndef OP_ARM_MODEL_H
|
|
#define OP_ARM_MODEL_H
|
|
|
|
struct op_arm_model_spec {
|
|
int (*init)(void);
|
|
unsigned int num_counters;
|
|
int (*setup_ctrs)(void);
|
|
int (*start)(void);
|
|
void (*stop)(void);
|
|
char *name;
|
|
};
|
|
|
|
#ifdef CONFIG_CPU_XSCALE
|
|
extern struct op_arm_model_spec op_xscale_spec;
|
|
#endif
|
|
|
|
extern int __init pmu_init(struct oprofile_operations *ops, struct op_arm_model_spec *spec);
|
|
extern void pmu_exit(void);
|
|
#endif /* OP_ARM_MODEL_H */
|