Skip to content

Commit b904a8e

Browse files
committed
Merge remote-tracking branch 'relay/etl-limit'
2 parents f3ab204 + db8bbb6 commit b904a8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IntelPresentMon/PresentMonService/EtwLogSession.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ namespace pmon::svc
4848
auto logFilePath = logFileDirectory / file::TempFile::MakeRandomName();
4949
// create / start the trace session that outputs to .etl file
5050
traceProps_.Wnode.BufferSize = sizeof(traceProps_);
51+
traceProps_.MaximumFileSize = 1024;
5152
traceProps_.Wnode.Flags = WNODE_FLAG_TRACED_GUID;
5253
traceProps_.Wnode.ClientContext = TIMESTAMP_TYPE_QPC;
5354
traceProps_.LogFileMode = EVENT_TRACE_FILE_MODE_SEQUENTIAL;

0 commit comments

Comments
 (0)