pmu: move cpu cycle event type comparison to arch dependent code.

Change-Id: If069f8893fe59e3517569b74b3a27b5267ebac03
This commit is contained in:
TOIDA,Suguru
2019-04-09 10:07:30 +09:00
parent 2b6b3f31e5
commit f8cad24a9a
4 changed files with 7 additions and 21 deletions

View File

@ -72,7 +72,7 @@ int ihk_mc_perfctr_read_mask(unsigned long counter_mask, unsigned long *value);
unsigned long ihk_mc_perfctr_read(int counter);
unsigned long ihk_mc_perfctr_read_msr(int counter);
int ihk_mc_perfctr_alloc_counter(unsigned int *type, unsigned long *config, unsigned long pmc_status);
int ihk_mc_perfctr_alloc(struct thread *thread, int cpu_cycles);
int ihk_mc_perfctr_alloc(struct thread *thread, struct mc_perf_event *event);
int ihk_mc_perf_counter_mask_check(unsigned long counter_mask);
int ihk_mc_perf_get_num_counters(void);