Jump to content

KernPerfSysTrace

From EDM2
Revision as of 02:57, 28 May 2025 by Martini (talk | contribs)

This is the equivalent of the DevHlp_Perftrace function used by PerfView.

Synopsis

APIRET APIENTRY KernPerfSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);

Parameters

major (ULONG) - input
Major number of Perf event
minor (ULONG) - input
Minor number of Perf event
buf (PVOID) - input
Buffer to be added to the Perf log
size (ULONG) - input
Size of the buffer

Comments

Warning
The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area.