From: John L. <mov...@us...> - 2005-04-22 19:29:29
|
Update of /cvsroot/oprofile/oprofile/libop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14870/libop Modified Files: op_events.c op_events.h Log Message: rejigging of BFD stuff. Index: op_events.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_events.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -p -d -r1.61 -r1.62 --- op_events.c 4 Jan 2005 21:05:56 -0000 1.61 +++ op_events.c 22 Apr 2005 19:29:20 -0000 1.62 @@ -520,7 +520,7 @@ void op_free_events(void) } -struct op_event * find_event(u8 nr) +static struct op_event * find_event(u8 nr) { struct list_head * pos; @@ -733,18 +733,6 @@ int op_check_events(int ctr, u8 nr, u16 } -unsigned int op_min_count(u8 ctr_type, op_cpu cpu_type) -{ - struct op_event * event; - - load_events(cpu_type); - - event = find_event(ctr_type); - - return event ? event->min_count : 0; -} - - void op_default_event(op_cpu cpu_type, struct op_default_event_descr * descr) { descr->name = ""; Index: op_events.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_events.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -p -d -r1.23 -r1.24 --- op_events.h 15 Sep 2004 01:26:08 -0000 1.23 +++ op_events.h 22 Apr 2005 19:29:20 -0000 1.24 @@ -99,16 +99,6 @@ enum op_event_check { int op_check_events(int ctr, u8 event, u16 um, op_cpu cpu_type); /** - * op_min_count - get the minimum count value. - * @param ctr_type event value - * @param cpu_type cpu type - * - * The function returns > 0 if the event is found - * 0 otherwise - */ -unsigned int op_min_count(u8 ctr_type, op_cpu cpu_type); - -/** * free memory used by any call to above function. Need to be called only once */ void op_free_events(void); |