etw - Not able to find the custom event -
i following sample provided here use custom event source. however, after run sample, there no event message found in event viewer figure below:
did have idea?
you need capture events tool:
- with
xperf
: "c:\program files (x86)\windows kits\10\windows performance toolkit\xperf.exe" -start userlogger -on guid -f user.etl && timeout -1 && "c:\program files (x86)\windows kits\8.1\windows performance toolkit\xperf.exe" -stop userlogger
change guid own - with perfview: perfview /onlyproviders=*mycompanyeventsource collect
- create own wprp profile , add entry log mycompanyeventsource events , run wrp -start myprofile.wprp && timeout -1 && wpr -stop result.etl
- use eventlistener class listen events in own code
- use traceevent, start realtime session , subscribe dynamicall event , parse here mycompanyeventsource data.
what want write eventlog, have set event channel
attribute
Comments
Post a Comment