From: John L. <mov...@us...> - 2001-12-31 14:45:36
|
Update of /cvsroot/oprofile/oprofile/dae In directory usw-pr-cvs1:/tmp/cvs-serv29369/dae Modified Files: opd_proc.c opd_util.c oprofiled.c Log Message: use enum op_cpu for cpu type Index: opd_proc.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/opd_proc.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -d -r1.86 -r1.87 --- opd_proc.c 2001/12/22 18:01:52 1.86 +++ opd_proc.c 2001/12/31 14:45:32 1.87 @@ -35,7 +35,7 @@ u32 ctr_count[OP_MAX_COUNTERS]; u8 ctr_event[OP_MAX_COUNTERS]; u8 ctr_um[OP_MAX_COUNTERS]; -extern u32 cpu_type; +extern op_cpu cpu_type; double cpu_speed; /* list of image */ Index: opd_util.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/opd_util.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- opd_util.c 2001/12/22 18:01:52 1.30 +++ opd_util.c 2001/12/31 14:45:32 1.31 @@ -20,6 +20,8 @@ #include "opd_util.h" #include "../config.h" +/* FIXME: move into util/ ?? */ + /** * opd_mangle_filename - mangle a file filename * @smpdir: base directory name Index: oprofiled.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/dae/oprofiled.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- oprofiled.c 2001/12/29 23:51:24 1.55 +++ oprofiled.c 2001/12/31 14:45:32 1.56 @@ -32,7 +32,7 @@ /* Unfortunately popt does not have, on many versions, the POPT_ARG_DOUBLE type * so I must first store it as a string. */ static const char *cpu_speed_str; -u32 cpu_type; +op_cpu cpu_type; int separate_samples; static int ignore_myself; static int opd_buf_size=OP_DEFAULT_BUF_SIZE; |