From: John L. <mov...@us...> - 2001-08-11 01:29:10
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv27776 Modified Files: ChangeLog oprofile.c oprofile.h Log Message: small corner case fix when we miss a sample against a full count entry Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -r1.70 -r1.71 --- ChangeLog 2001/08/11 01:13:37 1.70 +++ ChangeLog 2001/08/11 01:29:07 1.71 @@ -1,8 +1,13 @@ 2001-08-11 John Levon <mo...@co...> + * oprofile.c: corner case where an a miss against a full count, + we were attributing wrong (reported by Bob Montgomery) + +2001-08-11 John Levon <mo...@co...> + * oprofile.c: use a simple cli/sti when installing the NMI handler. It should work and avoids the unmasking problem. - + 2001-08-10 John Levon <mo...@co...> * dae/oprofiled.h: fix header include (from Dave Jones) Index: oprofile.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/oprofile.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- oprofile.c 2001/08/11 01:13:37 1.68 +++ oprofile.c 2001/08/11 01:29:07 1.69 @@ -95,8 +95,6 @@ return; full_entry: evict_op_entry(data, &data->entries[h].samples[i]); - data->entries[h].samples[i].count = OP_COUNTER*ctr + 1; - goto out; new_entry: fill_op_entry(&data->entries[h].samples[i],regs,ctr); goto out; Index: oprofile.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/oprofile.h,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- oprofile.h 2001/07/25 02:54:49 1.41 +++ oprofile.h 2001/08/11 01:29:07 1.42 @@ -172,7 +172,7 @@ #define take_mmap_sem(mm) down_read(&mm->mmap_sem) #define release_mmap_sem(mm) up_read(&mm->mmap_sem) #endif - + int oprof_init(void); void oprof_exit(void); void my_set_fixmap(void); |