ia64/xen-unstable

changeset 668:e924f1dd98f3

bitkeeper revision 1.383 (3f280e11xqcx0wyODFX9WY58mF0mtA)

perfc.c:
Fix perfctr handling.
author kaf24@scramble.cl.cam.ac.uk
date Wed Jul 30 18:27:29 2003 +0000 (2003-07-30)
parents 6c29b3a63599
children 734baea3a436
files xen/common/perfc.c
line diff
     1.1 --- a/xen/common/perfc.c	Wed Jul 30 15:53:05 2003 +0000
     1.2 +++ b/xen/common/perfc.c	Wed Jul 30 18:27:29 2003 +0000
     1.3 @@ -47,7 +47,7 @@ void perfc_printall(u_char key, void *de
     1.4                  printk("%10d  0x%08x  %s[CPU %02d]\n",
     1.5                         atomic_read(&counters[j]), atomic_read(&counters[j]), 
     1.6                         perfc_info[i].name, j);
     1.7 -            counters += j;
     1.8 +            counters += NR_CPUS;
     1.9              break;
    1.10          case TYPE_ARRAY:
    1.11              for ( j = 0; j < perfc_info[i].nr_elements; j++ )