Only supports one simple counter and only UltraSPARC-IIIi chips. Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
294 B
C
15 lines
294 B
C
#ifndef __ASM_SPARC_PERF_COUNTER_H
|
|
#define __ASM_SPARC_PERF_COUNTER_H
|
|
|
|
extern void set_perf_counter_pending(void);
|
|
|
|
#define PERF_COUNTER_INDEX_OFFSET 0
|
|
|
|
#ifdef CONFIG_PERF_COUNTERS
|
|
extern void init_hw_perf_counters(void);
|
|
#else
|
|
static inline void init_hw_perf_counters(void) { }
|
|
#endif
|
|
|
|
#endif
|