Comments (5)
- Use the --logfile command line argument.
- The description coming from the event may or may not convert to UTF-8 properly. This is one of the reasons that we used bytes.
- The ProcessId field in the event header contains the process PID.
from pywintrace.
@SuperXiaoxiong Does my previous response answer your questions?
from pywintrace.
Thanks first!
the question2,3 is done ,but the log still won't be created
Here is my code
import etw
def some_fuc():
guid = {'Some provider': etw.GUID("{1C95126E-7EEA-49A9-A3FE-A378B03DDB4D}")}
job = etw.ETW(guid)
etw.run('etw',job, logfile='./testlog')
some_fuc()
from pywintrace.
You are welcome. Are you sure you have write access to that path?
from pywintrace.
thanks very much !
It's ok now although I don't know why it don't work yesterday,
i really appreciate your help
from pywintrace.
Related Issues (20)
- Feature request: Provide a simple command line interface HOT 5
- Exception in ProcessTrace function HOT 2
- Major slowdown when tracing CLR provider live, not seen with perfview HOT 6
- Fetching additional data
- Importing etw causes log level to be set HOT 4
- make consumer thread a daemon thread HOT 2
- OSError: [WinError 1450] Insufficient system resources exist to complete the requested service - when running PyWinTrace HOT 2
- Failed to get data field for AssemblyFlags, incrementing by reported size HOT 2
- logging nt kernel logger or windows kernel trace HOT 5
- Connot capture all events on windows kernel trace HOT 5
- How to output Stack Trace with every Event?
- Do you know how to simulate win10 `perfmon.exe` to monitor the disk operation of a process?
- Nothing happens when I run the example. HOT 2
- How can i start nt kernel logger session? HOT 1
- module 'etw' has no attribute 'ProviderInfo'. HOT 1
- add provider on the fly
- Callback functions stop returning anything
- how to close the warning?
- Need Event tracing USB4 device and HUB by using ETW logging or Pywintrace.
- Warning: ETW sessions are expensive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywintrace.