共用方式為


CeLog Event Identifiers

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following tables show the supported events.

Event Identifier Signal description Associated structure Zone availability

CELID_BOOT_TIME

Anevent in the startup sequence.

CEL_BOOT_TIME

CELZONE_BOOT_TIME

CELID_CALLSTACK

Logging a call stack that is a companion to the previously logged event.

For example, a Monte Carlo profiler hit might be followed by a call stack event containing the call stack captured during the profiler hit.

None

This event is available in all zones.

CELID_CS_DELETE

Deleting a critical section via DeleteCriticalSection.

CEL_CRITSEC_DELETE

CELZONE_CRITSECT

CELID_CS_ENTER

Entering a critical section via EnterCriticalSection that is owned by another thread.

The thread that is trying to acquire access to the critical section is blocked.

CEL_CRITSEC_ENTER

CELZONE_CRITSECT

CELID_CS_INIT

Initializing a critical section via InitializeCriticalSection.

CEL_CRITSEC_INIT

CELZONE_CRITSECT

CELID_CS_LEAVE

Leaving a critical section via LeaveCriticalSection.

This event is only logged when another thread is blocked waiting on the critical section.

CEL_CRITSEC_LEAVE

CELZONE_CRITSECT

CELID_DATA_LOSS

Loss of data during data collection.

This event is used to periodically log a data loss counter.

CEL_DATA_LOSS

This event is available in all zones.

CELID_DEBUG_MSG

A debug message has been printed.

None

CELZONE_DEBUG

CELID_EVENT_CREATE

An event object was created or opened with CreateEvent).

CEL_EVENT_CREATE

CELZONE_SYNCH

CELID_EVENT_DELETE

An event object was deleted.

CEL_EVENT_DELETE

CELZONE_SYNCH

CELID_EVENT_PULSE

An event was pulsed with PulseEvent.

CEL_EVENT_PULSE

CELZONE_SYNCH

CELID_EVENT_RESET

An event was reset with ResetEvent.

CEL_EVENT_RESET

CELZONE_SYNCH

CELID_EVENT_SET

An event was set or triggered by SetEvent.

CEL_EVENT_SET

CELZONE_SYNCH

CELID_EXTRA_MODULE_INFO

The collection of additional information about a process to augment the CELID_MODULE_LOAD event.

This event may not immediately follow a CELID_MODULE_LOAD event.

CEL_EXTRA_MODULE_INFO

CELZONE_LOADER

CELID_EXTRA_PROCESS_INFO

The collection of additional information about a process to augment the CELID_PROCESS_CREATE event.

This event may not immediately follow a CELID_PROCESS_CREATE event.

CEL_EXTRA_PROCESS_INFO

CELZONE_PROCESS

- or -

CELZONE_LOADER

CELID_FLAGGED

An event has been flagged to distinguish it from other events. This flag is not passed as a parameter to CeLogData. It is generated by setting fFlagged to TRUE.

None

This event is available in all zones.

CELID_HEAP_ALLOC

A heap allocation has occurred via HeapAlloc.

CEL_HEAP_ALLOC

CELZONE_HEAP

CELID_HEAP_CREATE

Signals that the memory heap has been created via HeapCreate.

CEL_HEAP_CREATE

CELZONE_HEAP

CELID_HEAP_DESTROY

A heap has been destroyed via HeapDestroy.

CEL_HEAP_DESTROY

CELZONE_HEAP

CELID_HEAP_FREE

A heap allocation has been freed via HeapFree.

CEL_HEAP_FREE

CELZONE_HEAP

CELID_HEAP_REALLOC

A heap memory allocation has been reallocated.

CEL_HEAP_REALLOC

CELZONE_HEAP

CELID_INTERRUPTS

A list of interrupt information.

CEL_INTERRUPTS

CELZONE_INTERRUPT

CELID_KCALL_ENTER

A thread has entered into a KCALL region, where pData is the identifier of the KCALL and wLen is the size of the identifier value.

None

CELZONE_KCALL

CELID_KCALL_EXIT

A thread has left a KCALL region, where pData is the identifier of the KCALL and wLen is the size of the identifier value.

None

CELZONE_KCALL

CELID_MAPFILE_VIEW_CLOSE

A view of a file-mapping object has been closed via UnmapViewOfFile.

None

CELZONE_VIRTMEM

CELID_MAPFILE_VIEW_FLUSH

A view of a file-mapping object has been flushed via FlushViewOfFile.

None

CELZONE_VIRTMEM

- or -

CELZONE_DEMANDPAGE

CELID_MAPFILE_VIEW_OPEN_EX

A view of a file-mapping object has been opened via MapViewOfFile.

None

CELZONE_VIRTMEM

CELID_MEMTRACK_BASELINE

An event was sent to insert a base line marker used to track the memory state prior to a test.

None

CELZONE_MEMTRACKING

CELID_MEMTRACK_DETACHP

Signals when memory tracking is turned off. There is one event per process sent.

None

CELZONE_MEMTRACKING

CELID_MODULE_FREE

A DLL module has been freed in a process.

CEL_MODULE_FREE

CELZONE_LOADER

- or -

CELZONE_THREAD

CELID_MODULE_LOAD

A DLL module has been loaded in a process.

CEL_MODULE_LOAD

CELZONE_LOADER

- or -

CELZONE_THREAD

CELID_MODULE_REFERENCES

Reference count information about a loaded module.

CEL_MODULE_REFERENCES

CELZONE_LOADER

CELID_MONTECARLO_HIT

The kernel profiler has captured a profiler sample. The data is a single DWORD containing the address of the code that was running when the profiler interrupted it.

None

CELZONE_PROFILER

CELID_MUTEX_CREATE

A mutex was created or opened via CreateMutex.

CEL_MUTEX_CREATE

CELZONE_SYNCH

CELID_MUTEX_DELETE

A mutex object has been deleted.

CEL_MUTEX_DELETE

CELZONE_SYNCH

CELID_MUTEX_RELEASE

A mutex was released via ReleaseMutex.

CEL_MUTEX_RELEASE

CELZONE_SYNCH

CELID_PROCESS_CREATE

A new process has been created by CreateProcess or that a process was opened by OpenProcess.

CEL_PROCESS_CREATE

CELZONE_PROCESS

- or -

CELZONE_THREAD

CELID_PROCESS_DELETE

A process object has been deleted.

CEL_PROCESS_DELETE

CELZONE_PROCESS

CELID_PROCESS_TERMINATE

A process has been terminated.

CEL_PROCESS_TERMINATE

CELZONE_PROCESS

CELID_PROFILER_STOP

The kernel profiler has stopped capturing data.

None

CELZONE_PROFILER

CELID_RAW_CHAR

The creation of an array of raw data bits of the form CHAR whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_DOUBLE

The creation of an array of raw data bits of the form DOUBLE whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_FLOAT

The creation of an array of raw data bits of the form FLOAT whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_LONG

The creation of an array of raw data bits of the form LONG whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_SHORT

The creation of an array of raw data bits of the form SHORT whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_UCHAR

The creation of an array of raw data bits of the form UCHAR whose pData length is determined by the wLen parameter of CeLogData.

None

User definable

CELID_RAW_ULONG

The creation of an array of raw data bits of the form ULONG whose pData length is determined by the wLen parameter of CeLogData

None

User definable

CELID_RAW_USHORT

The creation of an array of raw data bits of the form USHORT whose pData length is determined by the wLen parameter of CeLogData. A structure is not provided.

None

User definable

CELID_RAW_WCHAR

The creation of an array of raw data bits of the form WCHAR whose pData length is determined by the wLen parameter of CeLogData. A structure is not provided.

None

User definable

CELID_SEM_CREATE

A semaphore has been created or opened by CreateSemaphore.

CEL_SEM_CREATE

CELZONE_SYNCH

CELID_SEM_DELETE

A semaphore object has been deleted.

CEL_SEM_DELETE

CELZONE_SYNCH

CELID_SEM_RELEASE

A thread has exited the semaphore with ReleaseSemaphore.

CEL_SEM_RELEASE

CELZONE_SYNCH

CELID_SLEEP

Sleep has been called.

CEL_SLEEP

CELZONE_SYNCH

CELID_SYNC_END

An event was sent to identify the end of data associated with the CeLogReSync function call.

None

This event is available in all zones.

CELID_SYSTEM_INVERT

A priority inheritance event has occurred in response to a priority inversion condition.

CEL_SYSTEM_INVERT

CELZONE_PRIORITYINV

CELID_SYSTEM_PAGE_IN

A demand page has occurred.

CEL_SYSTEM_PAGE

CELZONE_DEMANDPAGE

CELID_SYSTEM_PAGE_OUT

A demand page has occurred. There is no additional structure for this event.

CEL_SYSTEM_PAGE

CELZONE_DEMANDPAGE

CELID_THREAD_CREATE

A new thread has been created with CreateThread.

CEL_THREAD_CREATE

CELZONE_THREAD

CELID_THREAD_DELETE

A thread object has been deleted.

CEL_THREAD_DELETE

CELZONE_THREAD

CELID_THREAD_MIGRATE

A thread has made a system call that is being performed by a secondary process.

CEL_THREAD_MIGRATE

CELZONE_MIGRATE

CELID_THREAD_PRIORITY

A change in priority has occurred.

CEL_THREAD_PRIORITY

CELZONE_THREAD

CELID_THREAD_QUANTUM

A change in quantum has occurred.

CEL_THREAD_QUANTUM

CELZONE_THREAD

CELID_THREAD_QUANTUMEXPIRE

Signals that the current thread has reached the end of its quantum.

None

CELZONE_RESCHEDULE

CELID_THREAD_RESUME

A thread has been resumed with a call to ResumeThread.

CEL_THREAD_RESUME

CELZONE_RESCHEDULE

CELID_THREAD_SUSPEND

A thread has been suspended with a call to SuspendThread.

CEL_THREAD_SUSPEND

CELZONE_RESCHEDULE

CELID_THREAD_SWITCH

A thread switch has occurred.

CEL_THREAD_SWITCH

CELZONE_RESCHEDULE

CELID_THREAD_TERMINATE

A thread has terminated.

CEL_THREAD_TERMINATE

CELZONE_THREAD

CELID_VIRTUAL_ALLOC_EX

A virtual allocation has occurred with VirtualAlloc.

CEL_VIRTUAL_ALLOC

CELZONE_VIRTMEM

CELID_VIRTUAL_FREE_EX

A virtual allocation has been freed by VirtualFree.

CEL_VIRTUAL_FREE

CELZONE_VIRTMEM

CELID_WAIT_MULTI

A call was made to one of the Wait* APIs.

CEL_WAIT_MULTI

CELZONE_SYNCH

See Also

Reference

CeLogData
CeLog Zones
CeLog Event Tracking Reference