How jonny-jhnson/etwinspector works
EtwInspector is a PowerShell-accessible Windows ETW toolkit. Users invoke cmdlets to discover providers and sessions, capture traces, or export and compare provider snapshots. Snapshot export combines registered-provider enumeration with optional TraceLogging binary scanning; session inspection and capture are separate workflows. The excerpts show snapshot orchestration and data-collector parsing, but not the PowerShell module’s command wiring or all enumeration internals, so those links rely on README statements or are omitted.
Main entry points: EtwInspector.psm1 EtwInspector module · Snapshot.cs Snapshot export · GetProviders.cs Provider enumeration · TraceLoggingEnumeration.cs TraceLogging scan
Components 10
PowerShell interface
- EtwInspector module
EtwInspector/EtwInspectorModule/EtwInspector.psm1
ETW discovery
- Provider enumeration
EtwInspector/src/GetProviders.cs - TraceLogging scan
EtwInspector/src/TraceLoggingEnumeration.cs - Session inspection
EtwInspector/src/TraceSessions.cs - Provider security
EtwInspector/src/GetProviders.cs
Capture and snapshots
- Trace capture
EtwInspector/src/CaptureEvents.cs - Snapshot export
EtwInspector/src/Snapshot.cs - Snapshot serialization
EtwInspector/src/Snapshot.cs - Snapshot comparison
EtwInspector/src/Snapshot.cs
Other components
- PowerShell user
Connections 11
- PowerShell user → EtwInspector module: invokes commands
README.md - EtwInspector module → Provider enumeration: exposes command
README.md - EtwInspector module → Session inspection: exposes command
README.md - EtwInspector module → Trace capture: exposes commands
README.md - EtwInspector module → Snapshot export: exposes command
README.md - EtwInspector module → Snapshot comparison: exposes command
README.md - EtwInspector module → Provider security: exposes command
README.md - Snapshot export → Provider enumeration: enumerates providers
EtwInspector/src/Snapshot.cs - Snapshot export → TraceLogging scan: scans binaries
EtwInspector/src/Snapshot.cs - Snapshot export → Snapshot serialization: writes snapshot
EtwInspector/src/Snapshot.cs - Snapshot comparison → Snapshot serialization: reads snapshots
EtwInspector/src/Snapshot.cs