From: Philippe E. <ph...@us...> - 2002-09-30 21:50:39
|
Update of /cvsroot/oprofile/oprofile/daemon In directory usw-pr-cvs1:/tmp/cvs-serv6819/daemon Modified Files: opd_sample_files.c oprofiled.c Log Message: use u16 for unit_mask. I'm not sure this catches *all* the instances, but it does appear to be an improvement -Graydon Phil rgards, Index: opd_sample_files.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/daemon/opd_sample_files.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- opd_sample_files.c 27 Sep 2002 23:12:39 -0000 1.3 +++ opd_sample_files.c 30 Sep 2002 21:50:36 -0000 1.4 @@ -30,7 +30,7 @@ extern int separate_samples; extern u32 ctr_count[OP_MAX_COUNTERS]; extern u8 ctr_event[OP_MAX_COUNTERS]; -extern u8 ctr_um[OP_MAX_COUNTERS]; +extern u16 ctr_um[OP_MAX_COUNTERS]; extern double cpu_speed; extern op_cpu cpu_type; Index: oprofiled.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/daemon/oprofiled.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- oprofiled.c 26 Sep 2002 23:59:29 -0000 1.5 +++ oprofiled.c 30 Sep 2002 21:50:36 -0000 1.6 @@ -44,7 +44,7 @@ u32 ctr_count[OP_MAX_COUNTERS]; u8 ctr_event[OP_MAX_COUNTERS]; -u8 ctr_um[OP_MAX_COUNTERS]; +u16 ctr_um[OP_MAX_COUNTERS]; double cpu_speed; uint op_nr_counters; |