From: John L. <mov...@us...> - 2003-10-01 14:32:33
|
Update of /cvsroot/oprofile/oprofile/libabi In directory sc8-pr-cvs1:/tmp/cvs-serv26073/libabi Modified Files: op_import.cpp Log Message: don't error out on "-x -m all" options Index: op_import.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libabi/op_import.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -d -r1.21 -r1.22 --- op_import.cpp 25 Sep 2003 23:40:55 -0000 1.21 +++ op_import.cpp 1 Oct 2003 14:32:29 -0000 1.22 @@ -119,7 +119,8 @@ void import_from_abi(abi const & abi, vo ext.extract(head->ctr, src, "sizeof_u32", "offsetof_header_ctr"); ext.extract(head->cpu_type, src, "sizeof_u32", "offsetof_header_cpu_type"); ext.extract(head->ctr_count, src, "sizeof_u32", "offsetof_header_ctr_count"); - head->cpu_speed = 0.; // "double" extraction is unlikely to work + // "double" extraction is unlikely to work + head->cpu_speed = 0.0; ext.extract(head->mtime, src, "sizeof_time_t", "offsetof_header_mtime"); ext.extract(head->separate_lib, src, "sizeof_int", "offsetof_header_separate_lib"); ext.extract(head->separate_kernel, src, "sizeof_int", "offsetof_header_separate_kernel"); |