Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 12bb696

Browse files
committed
[wperf-driver] WPERF-622: Add minor driver debug print
See merge request Linaro/WindowsPerf/windowsperf!686 === ChangeLog === * wperf-driver: add minor driver debug print Show how we free PMU resource
1 parent 795516b commit 12bb696

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wperf-driver/device.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ NTSTATUS get_pmu_resource(VOID)
318318
KdPrintEx((DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "HAL: allocate failed 0x%x\n", status));
319319
return status;
320320
}
321+
else
322+
{
323+
KdPrintEx((DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "HalAllocateHardwareCounters: success\n"));
324+
}
321325
numFreeGPC = numFreeCounters;
322326

323327
// This driver expose private APIs (IOCTL commands), but also enable ThreadProfiling APIs.

0 commit comments

Comments
 (0)