Displaying 2 results from an estimated 2 matches for "privop_addr_count".
Did you mean:
privop_addr_counter
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...9/xen/arch/ia64/xen/privop_stat.c
===================================================================
--- 2007-03-19.orig/xen/arch/ia64/xen/privop_stat.c 2006-08-31 15:26:11.000000000 +0200
+++ 2007-03-19/xen/arch/ia64/xen/privop_stat.c 2007-03-27 16:37:00.000000000 +0200
@@ -10,48 +10,39 @@ struct privop_addr_count {
unsigned long addr[PRIVOP_COUNT_NADDRS];
unsigned int count[PRIVOP_COUNT_NADDRS];
unsigned int overflow;
- atomic_t *perfc_addr;
- atomic_t *perfc_count;
- atomic_t *perfc_overflow;
};
-#undef PERFCOUNTER
-#define PERFCOUNTER(var, name)
-
-#undef PERFCOUNTER_CPU
-#define PERFCOUNTER_CP...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...56.000000000 +0200
+++ 2009-07-10/xen/arch/ia64/xen/privop_stat.c 2009-07-15 10:00:01.000000000 +0200
@@ -65,7 +65,7 @@ void gather_privop_addrs(void)
{
unsigned int cpu;
- for_each_cpu ( cpu ) {
+ for_each_possible_cpu ( cpu ) {
perfc_t *perfcounters = per_cpu(perfcounters, cpu);
struct privop_addr_count *s = per_cpu(privop_addr_counter, cpu);
int i, j;
@@ -92,7 +92,7 @@ void reset_privop_addrs(void)
{
unsigned int cpu;
- for_each_cpu ( cpu ) {
+ for_each_possible_cpu ( cpu ) {
struct privop_addr_count *v = per_cpu(privop_addr_counter, cpu);
int i, j;
--- 2009-07-10.orig/xen/arch/ia...