Closed Cishanduwang closed 6 months ago
Well, I figure out myself. Code above just create a NT Kernel Logger Session which is a reserved trace session that is built into Windows and enable virtualloc trace function. There is other function can be enabled like Process, Thread, DiskIo and TcpIp.
I use krabs::kernel::virtual_alloc_provider provider created a kernel trace named "My Custome Trace".
When i start my program it works well and can get info correctly. But when i use logman to query trace session there is no providers show up.
Command result is:
I expect there will be a provider named "Windows Kernel Trace" GUID is :{9E814AAD-3204-11D2-9A82-006008A86939} below "file mode", but there is not. Why?
Thank you for your help.