ReactOS  0.4.15-dev-2703-g05fb0f1
fxperftracekm.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WDF_DPC_EVENT_VERSION_2   2
 
#define WDF_INTERRUPT_EVENT_VERSION_2   2
 
#define WDF_WORK_ITEM_EVENT_VERSION_2   2
 

Functions

FORCEINLINE VOID FxPerfTraceDpc (_In_ PVOID DriverCallback)
 
FORCEINLINE VOID FxPerfTraceInterrupt (_In_ PVOID DriverCallback)
 
FORCEINLINE VOID FxPerfTracePassiveInterrupt (_In_ PVOID DriverCallback)
 
FORCEINLINE VOID FxPerfTraceWorkItem (_In_ PVOID DriverCallback)
 

Macro Definition Documentation

◆ WDF_DPC_EVENT_VERSION_2

#define WDF_DPC_EVENT_VERSION_2   2

Definition at line 32 of file fxperftracekm.hpp.

◆ WDF_INTERRUPT_EVENT_VERSION_2

#define WDF_INTERRUPT_EVENT_VERSION_2   2

Definition at line 33 of file fxperftracekm.hpp.

◆ WDF_WORK_ITEM_EVENT_VERSION_2

#define WDF_WORK_ITEM_EVENT_VERSION_2   2

Definition at line 34 of file fxperftracekm.hpp.

Function Documentation

◆ FxPerfTraceDpc()

FORCEINLINE VOID FxPerfTraceDpc ( _In_ PVOID  DriverCallback)

Definition at line 40 of file fxperftracekm.hpp.

43 {
44  // PWMI_WDF_NOTIFY_ROUTINE perfTraceCallback = NULL;
45 
46  // //
47  // // Trace driver's ISR using perf trace callback. If the perf trace callback
48  // // is NULL, it means either perf tracing is not enabled, or this OS
49  // // doesn't support perf tracing for WDF (note only win8+ supports WDF perf
50  // // trace callbacks).
51  // //
52  // perfTraceCallback = FxLibraryGlobals.PerfTraceRoutines->DpcNotifyRoutine;
53  // if (perfTraceCallback != NULL) {
54  // (perfTraceCallback) (DriverCallback, // event data
55  // sizeof(PVOID), // sizeof event
56  // PERF_WDF_DPC, // group mask
57  // PERFINFO_LOG_TYPE_WDF_DPC, // hook id
58  // WDF_DPC_EVENT_VERSION_2 // version
59  // );
60  // }
61 }

Referenced by __drv_maxIRQL(), and FxDpc::DpcHandler().

◆ FxPerfTraceInterrupt()

FORCEINLINE VOID FxPerfTraceInterrupt ( _In_ PVOID  DriverCallback)

Definition at line 65 of file fxperftracekm.hpp.

68 {
69  // PWMI_WDF_NOTIFY_ROUTINE perfTraceCallback = NULL;
70 
71  // perfTraceCallback = FxLibraryGlobals.PerfTraceRoutines->InterruptNotifyRoutine;
72  // if (perfTraceCallback != NULL) {
73  // (perfTraceCallback) (DriverCallback, // event data
74  // sizeof(PVOID), // sizeof event
75  // PERF_WDF_INTERRUPT, // group mask
76  // PERFINFO_LOG_TYPE_WDF_INTERRUPT, // hook id
77  // WDF_INTERRUPT_EVENT_VERSION_2 // version
78  // );
79  // }
80 }

◆ FxPerfTracePassiveInterrupt()

FORCEINLINE VOID FxPerfTracePassiveInterrupt ( _In_ PVOID  DriverCallback)

Definition at line 84 of file fxperftracekm.hpp.

87 {
88  // PWMI_WDF_NOTIFY_ROUTINE perfTraceCallback = NULL;
89 
90  // perfTraceCallback = FxLibraryGlobals.PerfTraceRoutines->InterruptNotifyRoutine;
91  // if (perfTraceCallback != NULL) {
92  // (perfTraceCallback) (DriverCallback,
93  // sizeof(PVOID),
94  // PERF_WDF_INTERRUPT,
95  // PERFINFO_LOG_TYPE_WDF_PASSIVE_INTERRUPT,
96  // WDF_INTERRUPT_EVENT_VERSION_2
97  // );
98  // }
99 }

◆ FxPerfTraceWorkItem()

FORCEINLINE VOID FxPerfTraceWorkItem ( _In_ PVOID  DriverCallback)

Definition at line 103 of file fxperftracekm.hpp.

106 {
107  // PWMI_WDF_NOTIFY_ROUTINE perfTraceCallback = NULL;
108 
109  // perfTraceCallback = FxLibraryGlobals.PerfTraceRoutines->WorkItemNotifyRoutine;
110  // if (perfTraceCallback != NULL) {
111  // (perfTraceCallback) (DriverCallback,
112  // sizeof(PVOID),
113  // PERF_WORKER_THREAD,
114  // PERFINFO_LOG_TYPE_WDF_WORK_ITEM,
115  // WDF_WORK_ITEM_EVENT_VERSION_2
116  // );
117  // }
118 }

Referenced by FxWorkItem::WorkItemHandler(), and FxInterrupt::WorkItemHandler().