search for: nr_val

Displaying 3 results from an estimated 3 matches for "nr_val".

Did you mean: nr_vals
2006 Aug 25
1
[PATCH][RFC]xenperf hypercall pretty print TAKE 2
This patch pretty prints the hypercall section for $xenperf -f Each hypercall count is tagged by its name. Reference: http://lists.xensource.com/archives/html/xen-ia64-devel/2006-08/msg00261.html Signed-off-by Ken Hironaka <kenny@logos.ic.i.u-tokyo.ac.jp> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...fcounters; + unsigned int i, j, v; /* We only copy the name and array-size information once. */ if ( !perfc_init ) @@ -154,11 +166,7 @@ static int perfc_copy_info(XEN_GUEST_HAN { case TYPE_SINGLE: case TYPE_S_SINGLE: - perfc_d[i].nr_vals = 1; - break; - case TYPE_CPU: - case TYPE_S_CPU: - perfc_d[i].nr_vals = num_online_cpus(); + perfc_d[i].nr_vals = num_possible_cpus(); break; case TYPE_ARRAY: case TYPE_S_ARRAY: @@ -181,2...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...TYPE_S_SINGLE: - for_each_cpu ( cpu ) + for_each_possible_cpu ( cpu ) perfc_vals[v++] = per_cpu(perfcounters, cpu)[j]; ++j; break; case TYPE_ARRAY: case TYPE_S_ARRAY: memset(perfc_vals + v, 0, perfc_d[i].nr_vals * sizeof(*perfc_vals)); - for_each_cpu ( cpu ) + for_each_possible_cpu ( cpu ) { perfc_t *counters = per_cpu(perfcounters, cpu) + j; unsigned int k; --- 2009-07-10.orig/xen/common/schedule.c 2009-04-09 14:05:36.000000000 +0200 ++...