KernPerfSysTrace: Difference between revisions
Appearance
m Ak120 moved page OS2 API:KEE:KernPerfSysTrace to KernPerfSysTrace |
mNo edit summary |
||
Line 6: | Line 6: | ||
==Parameters== | ==Parameters== | ||
;major:Major number of Perf event | |||
major | ;minor:Minor number of Perf event | ||
;buf:buffer to be added to the Perf log | |||
minor | ;size:size of the buffer | ||
buf | |||
size | |||
==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. | '''Warning:''' The buffer is assumed to be allocated on the task stack, not as a global variable or a VMAlloc'd memory area. | ||
[[Category: | [[Category:KEE]] |
Revision as of 12:17, 27 February 2017
Synopsis
APIRET APIENTRY KernPerfSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);
Description
This is the equivalent of the DevHlp_Perftrace function used by PerfView.
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.