Jump to content

KernPerfSysTrace: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernPerfSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size); ==Description== This is the equivalent of the DevHlp_Perftrace function used by ..."
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is the equivalent of the DevHlp_Perftrace function used by PerfView.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernPerfSysTrace(ULONG major,ULONG minor,PVOID buf, ULONG size);
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==
==Parameters==
 
;''major'' ([[ULONG]]) - input:Major number of Perf event
major
;''minor'' ([[ULONG]]) - input:Minor number of Perf event
    Major number of Perf event  
;''buf'' ([[PVOID]]) - input:Buffer to be added to the Perf log
minor
;''size'' ([[ULONG]]) - input:Size of the buffer
    Minor number of Perf event  
buf
    buffer to be added to the Perf log  
size
    size of the buffer  


==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:The OS/2 API Project]]
[[Category:KEE]]

Latest revision as of 17:36, 28 May 2025

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.