From: Philippe E. <ph...@us...> - 2002-05-05 04:21:57
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv17247 Modified Files: ChangeLog TODO op_user.h Log Message: minor improvement to op_session : backup oprofiled.log and avoid to create session when no samples files exists in the samples dir. Phil Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.436 retrieving revision 1.437 diff -u -d -r1.436 -r1.437 --- ChangeLog 5 May 2002 00:47:57 -0000 1.436 +++ ChangeLog 5 May 2002 04:21:54 -0000 1.437 @@ -1,3 +1,12 @@ +2002-05-05 Philippe Elie <ph...@wa...> + + * TODO: update: + + * dae/op_session.c: do not create empty session directory + and backup oprofileg.log too + * dae/opd_util.c: + * op_user.h: minor related change + 2002-05-05 John Levon <mo...@co...> * TODO: update Index: TODO =================================================================== RCS file: /cvsroot/oprofile/oprofile/TODO,v retrieving revision 1.103 retrieving revision 1.104 diff -u -d -r1.103 -r1.104 --- TODO 5 May 2002 00:47:57 -0000 1.103 +++ TODO 5 May 2002 04:21:54 -0000 1.104 @@ -11,9 +11,6 @@ o document somewhere that oprofpp -s blah will only find the first symbol called "blah" (not worth fixing) o determine where we need preempt_disable/enable to prevent pre-emption + test (ugh) - o op_session creates empty dirs - o op_session - save oprofiled.log too ? (yes) - o op_session: if user don't supply a session name create an unique name (timestamp) (maybe - john) Before 1.0 big stuff -------------------- Index: op_user.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/op_user.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- op_user.h 2 May 2002 02:19:04 -0000 1.23 +++ op_user.h 5 May 2002 04:21:54 -0000 1.24 @@ -27,7 +27,8 @@ #define OP_DEVICE OP_BASE_DIR "opdev" #define OP_NOTE_DEVICE OP_BASE_DIR "opnotedev" #define OP_HASH_DEVICE OP_BASE_DIR "ophashmapdev" -#define OP_LOG_FILE OP_BASE_DIR "oprofiled.log" +#define OP_LOG_FILENAME "oprofiled.log" +#define OP_LOG_FILE OP_BASE_DIR OP_LOG_FILENAME /*@{\name miscellaneous types */ #ifndef u8 |