debuggers.hg

view xen/include/asm-x86/perfc.h @ 10992:6289234304f1

Provides hooks for perfc print/reset/gather.

These arch-neutral hooks allow architectures to report hardware counters.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 07 15:55:39 2006 +0100 (2006-08-07)
parents
children 9727328c008e
line source
1 #ifndef __ASM_PERFC_H__
2 #define __ASM_PERFC_H__
3 #include <asm/mm.h>
5 static inline void arch_perfc_printall (void)
6 {
7 #ifdef PERF_ARRAYS
8 ptwr_eip_stat_print();
9 #endif
10 }
12 static inline void arch_perfc_reset (void)
13 {
14 #ifdef PERF_ARRAYS
15 ptwr_eip_stat_reset();
16 #endif
17 }
19 static inline void arch_perfc_gather (void)
20 {
21 }
23 #endif