共用方式為


CeLog Event Tracking Structures

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This section contains descriptions of the CeLog Event Tracking structures.

The following tables show the CeLog Event Tracking structures common to all platforms with a description of the purpose of each.

Programming element Description

CEL_BOOT_TIME

This structure contains information about events in the startup sequence.

CEL_CRITSEC_DELETE

This structure logs the event that occurs when a thread deletes a critical section.

CEL_CRITSEC_ENTER

This structure logs the event that occurs when a thread is blocked by entering a critical section currently owned by another thread.

CEL_CRITSEC_INIT

This structure logs the event that occurs when a thread initializes a critical section.

CEL_CRITSEC_LEAVE

This structure logs the event that occurs when a thread leaves a critical section that is being waited on by another thread.

CEL_DATA_LOSS

This structure is passed periodically, to provide a counter of data that has been lost.

CEL_DEBUG_MSG

This structure is logged when a debug message is printed.

CEL_EVENT_CLOSE

This structure is passed when an event handle is closed with CloseHandle.

CEL_EVENT_CREATE

This structure is passed when an event is created or opened with CreateEvent.

CEL_EVENT_DELETE

This structure is passed when an event is deleted from memory.

CEL_EVENT_PULSE

This structure is passed when an event is pulsed with PulseEvent.

CEL_EVENT_RESET

This structure is passed when an event is reset with ResetEvent.

CEL_EVENT_SET

This structure is passed when an event is set with SetEvent.

CEL_EXTRA_MODULE_INFO

This structure stores additional information about a module.

CEL_EXTRA_PROCESS_INFO

This structure stores additional information about a process.

CEL_HEADER

This structure precedes every logged event that is sent out through the logging mechanism.

CEL_HEAP_ALLOC

This structure identifies a heap allocation made by a thread with HeapAlloc.

CEL_HEAP_CREATE

This structure identifies the memory heap that was created with HeapCreate.

CEL_HEAP_DESTROY

This structure identifies a heap that has been destroyed and its memory returned to the system.

CEL_HEAP_FREE

This structure identifies heap memory that has been freed.

CEL_HEAP_REALLOC

This structure identifies a memory pointer that has been reallocated in a heap.

CEL_INT_DATA

This structure identifies an interrupt entry or exit event.

CEL_INTERRUPTS

This structure is used to log a list of interrupts.

CEL_LOG_MARKER

This structure indicates the frequency of the clock used on the device.

CEL_MAPFILE_CREATE

This structure logs the creation of a memory-mapped file. This event is logged when an application uses CreateFileMapping to create the first reference to a file-mapping object.

CEL_MAPFILE_DESTROY

This structure is logged when a file-mapping object is destroyed when CloseHandle closes the last reference to the mapping handle.

CEL_MAPFILE_FLUSH

This structure is logged when a mapped view of a file is flushed by FlushViewOfFile.

CEL_MAPFILE_VIEW_CLOSE

This structure is logged when UnmapViewOfFile unmaps a view of a file from the address space of a process.

CEL_MAPFILE_VIEW_OPEN

This structure is logged when MapViewOfFile maps a view of a file into the address space of a process

CEL_MAPFLUSH_TYPE

This enumeration specifies flags that can be set in the wFlushFlags field of the CELID_MAPFILE_FLUSH event.

CEL_MEMTRACK_BASELINE

This structure is used with CELID_MEMTRACK_BASELINE event.

CEL_MODULE_FREE

This structure identifies a module that was loaded.

CEL_MODULE_LOAD

This structure identifies a module that was loaded.

CEL_MODULE_REFERENCES

This structure stores a list of process reference counts for a module.

CEL_MUTEX_CLOSE

This structure specifies that a mutex handle has been closed with CloseHandle.

CEL_MUTEX_CREATE

This structure specifies that a mutex has been created.

CEL_MUTEX_DELETE

This structure specifies that a mutex has been deleted from memory.

CEL_MUTEX_RELEASE

This structure identifies a mutex that has been released.

CEL_PROCESS_CLOSE

This structure identifies a process handle that has been closed using CloseHandle.

CEL_PROCESS_CREATE

This structure identifies a new process that has been created with CreateProcess.

CEL_PROCESS_DELETE

This structure identifies a process that has been deleted from memory.

CEL_PROCESS_REFCOUNT

This structure stores information about process reference counts.

CEL_PROCESS_TERMINATE

This structure identifies a process that has terminated.

CEL_SEM_CLOSE

This structure identifies a semaphore that has been closed by a thread using CloseHandle.

CEL_SEM_CREATE

This structure is used to identify a semaphore that was created or opened with CreateSemaphore.

CEL_SEM_DELETE

This structure identifies a semaphore that has been deleted from memory.

CEL_SEM_RELEASE

This structure identifies a semaphore that has been released by a thread.

CEL_SLEEP

This structure is used to identify a thread that has called Sleep.

CEL_SYSTEM_INVERT

This structure identifies the occurrence of priority inheritance in response to a priority inversion condition.

CEL_SYSTEM_PAGE

This structure identifies that a page fault occurred in the system.

CEL_THREAD_CLOSE

This structure specifies a thread handle that has closed using CloseHandle.

CEL_THREAD_CREATE

This structure identifies a thread that as been created.

CEL_THREAD_DELETE

This structure specifies a thread that has been deleted from memory.

CEL_THREAD_MIGRATE

This structure identifies a thread that has crossed a process boundary.

CEL_THREAD_PRIORITY

This structure indicates that the priority of a thread has been changed using SetThreadPriority.

CEL_THREAD_QUANTUM

This structure indicates that the quantum of a thread has been changed using CeSetThreadQuantum.

CEL_THREAD_RESUME

This structure indicates that a thread has been resumed using ResumeThread.

CEL_THREAD_SUSPEND

This structure indicates that a thread has been suspended using SuspendThread.

CEL_THREAD_SWITCH

This structure identifies a thread that has been scheduled to run.

CEL_THREAD_TERMINATE

This structure specifies a thread that has terminated.

CEL_VIRTUAL_ALLOC

This structure is used to identify a memory allocation made by VirtualAlloc.

CEL_VIRTUAL_FREE

This structure specifies that a virtual memory allocation has been freed with VirtualFree.

CEL_WAIT_MULTI

This structure is used when WaitForMultipleObjects, MsgWaitForMultipleObjects, or WaitForSingleObject is called.

MAPHEADER

This structures stores header information on a shared memory buffer.

See Also

Reference

CeLog Event Identifiers
CeLog Zones
CeLog Event Tracking Reference