I used pywintrace to create a ETW monitor system as follows:
import time import etw def some_func(): # define capture provider info providers = [et