[Pvfs2-cvs] commit by kunkel in pvfs2/src/common/misc: pint-event.c

CVS commit program cvs at parl.clemson.edu
Tue Mar 6 09:08:07 EST 2007


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv21946/src/common/misc

Modified Files:
      Tag: kunkel-hint-branch
	pint-event.c 
Log Message:
Ensure by offset that PVFS_EVENT_API_PERFORMANCE_COUNTER will be logged if operation mask is 0xFFFF.


Index: pint-event.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/pint-event.c,v
diff -p -u -r1.13.18.10 -r1.13.18.11
--- pint-event.c	22 Feb 2007 11:24:03 -0000	1.13.18.10
+++ pint-event.c	6 Mar 2007 14:08:07 -0000	1.13.18.11
@@ -492,6 +492,8 @@ void __PINT_event_mpe(enum PVFS_event_ap
 
 #ifdef MPE_EXTENDED_LOGGING
     if(api == PVFS_EVENT_API_PERFORMANCE_COUNTER){
+         /* offset to pass through preprocessor routine PINT_event_mpe */
+        operation -= 2;
         MPE_Log_pack( bytebuf, &bytebuf_pos, 'l', 1, &value );
 
         assert(operation <= PINT_event_perf_counter_keys);



More information about the Pvfs2-cvs mailing list