KernPerfSysTrace: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
==Comments== | ==Comments== | ||
;Warning: The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area. | |||
[[Category:KEE]] | [[Category:KEE]] |
Revision as of 12:31, 19 July 2020
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
- Major number of Perf event
- minor
- Minor number of Perf event
- buf
- buffer to be added to the Perf log
- size
- 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.