OEMProfilerData (Compact 2013)
3/28/2014
This structure is used by the following:
- The profiler interrup service routine (ISR), to call ProfilerHitEx with hardware-specific profiling data.
- IOCTL_HAL_OEM_PROFILER, to return hardware-specific profiling data on a query during ProfileCaptureStatus.
- The kernel, to write the result of the query into the CeLog data stream as an event with identifier CELID_OEMPROFILER_HIT.
Syntax
typedef struct OEMProfilerData {
DWORD ra;
DWORD dwBufSize;
BYTE buf[0];
} OEMProfilerData;
Members
ra
Exception program counter returned by GetEPC, for non-ARM CPUs. For ARM processors, the ISR should set this parameter to the RETURN ADDRESS (RA) value.IOCTL_HAL_OEM_PROFILER should set this field to zero.
dwBufSize
OEM-defined data.To determine the value of this field, see the documentation for your board support package (BSP).
buf
OEM-defined data.To determine the value of this field, see the documentation for your BSP.
Remarks
You can use OEMProfilerData to expose custom profiling data.
The OEM adaptation layer (OAL) ISR uses OEMProfilerData to pass data to ProfilerHitEx.
Requirements
Header |
profiler.h |
See Also
Reference
Kernel Structures
ProfilerHit
ProfilerHitEx
ProfileCaptureStatus
GetEPC