Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 377 → Rev 376

/shark/trunk/tracer/include/tracer.h
128,8 → 128,8
::);
#endif
 
if (flag & 1) size += 4;
if (flag & 2) size += 4;
if ((flag & 1) == 1) size += 4;
if ((flag & 3) == 3) size += 4;
 
// Adjust FirstTracerBuffer
if (FirstTracerBuffer >= CurrentTracerBuffer && TracerEventsPresent != 0) {
163,11 → 163,11
CurrentTracerBuffer+=4;
*(BYTE *)(CurrentTracerBuffer) = size;
CurrentTracerBuffer++;
if (flag & 1) {
if ((flag & 1) == 1) {
*(DWORD *)(CurrentTracerBuffer) = par1;
CurrentTracerBuffer+=4;
}
if (flag & 2) {
if ((flag & 3) == 3) {
*(DWORD *)(CurrentTracerBuffer) = par2;
CurrentTracerBuffer+=4;
}
/shark/trunk/tracer/include/FTrace.h
71,8 → 71,6
#define FTrace_EVT_server_replenish 0x18
#define FTrace_EVT_server_exhaust 0x28
#define FTrace_EVT_server_reclaiming 0x38
#define FTrace_EVT_server_remove 0x48
#define FTrace_EVT_server_active 0x58
 
// user defined events
#define FTrace_EVT_user_event_0 0x09
/shark/trunk/kernel/modules/sem.c
20,11 → 20,11
 
/**
------------
CVS : $Id: sem.c,v 1.7 2003-12-19 10:01:54 giacomo Exp $
CVS : $Id: sem.c,v 1.6 2003-12-10 16:55:01 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.7 $
Last update: $Date: 2003-12-19 10:01:54 $
Revision: $Revision: 1.6 $
Last update: $Date: 2003-12-10 16:55:01 $
------------
 
This file contains the Hartik 3.3.1 Semaphore functions
545,7 → 545,7
}
/* tracer */
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,3,*s,exec_shadow);
TRACER_LOGEVENT(FTrace_EVT_set_mutex_lock,1,*s,exec_shadow);
kern_frestore(f);
}
else {