ia64/xen-unstable

view xen/include/asm-ia64/privop_stat.h @ 10929:7cde0d938ef4

[IA64] convert more privop_stat to perfc

Convert most privop stats to perfc.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Fri Aug 04 09:02:43 2006 -0600 (2006-08-04)
parents 3d6c1af609bf
children 7c79d49033c6 04e5e80be909
line source
1 #ifndef _XEN_UA64_PRIVOP_STAT_H
2 #define _XEN_UA64_PRIVOP_STAT_H
3 #include <public/arch-ia64.h>
5 extern int dump_privop_counts_to_user(char *, int);
6 extern int zero_privop_counts_to_user(char *, int);
8 #define PRIVOP_ADDR_COUNT
10 #ifdef PRIVOP_ADDR_COUNT
12 /* INST argument of PRIVOP_COUNT_ADDR. */
13 #define _GET_IFA 0
14 #define _THASH 1
15 #define PRIVOP_COUNT_ADDR(regs,inst) privop_count_addr(regs->cr_iip,inst)
16 extern void privop_count_addr(unsigned long addr, int inst);
18 #else
19 #define PRIVOP_COUNT_ADDR(x,y) do {} while (0)
20 #endif
22 #endif /* _XEN_UA64_PRIVOP_STAT_H */