Skip to content

Commit

Permalink
Try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansjfw committed Aug 13, 2024
1 parent 5475356 commit 7a9b429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ManagedTelemetry/Telemetry/EtwTrace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void Start()
this.sessionName = string.Format(CultureInfo.InvariantCulture, "{0}-{1}-{2}", executable, Environment.ProcessId, dateTimeNow);
this.etwFilePath = Path.Combine(etwFolderPath, $"{this.sessionName}.etl");
this.traceSession = new TraceEventSession(
this.sessionName, this.etwFilePath, (TraceEventSessionOptions)(1 | 0x10 | 0x20));
this.sessionName, this.etwFilePath, (TraceEventSessionOptions)(0x800 | 0x20000 | 0x1));
this.traceSession.EnableProvider(
PowerToysTelemetry.Log.Guid,
matchAnyKeywords: (ulong)TelemetryKeyword | (ulong)MeasuresKeyword | (ulong)CriticalDataKeyword);
Expand Down

0 comments on commit 7a9b429

Please sign in to comment.