Skip to content

Commit 24504c5

Browse files
committed
Fixup buffer manager check helper
1 parent a46111a commit 24504c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/native/eventpipe/ep-session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ ep_session_type_uses_buffer_manager (EventPipeSessionType session_type)
964964
{
965965
if (session_type == EP_SESSION_TYPE_SYNCHRONOUS || session_type == EP_SESSION_TYPE_USEREVENTS)
966966
return false;
967-
967+
968968
return true;
969969
}
970970

src/native/eventpipe/ep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ enable (
522522

523523
EP_ASSERT (options != NULL);
524524
EP_ASSERT (options->format < EP_SERIALIZATION_FORMAT_COUNT);
525-
EP_ASSERT (ep_session_type_uses_buffer_manager (options->session_type) || options->circular_buffer_size_in_mb > 0);
525+
EP_ASSERT (!ep_session_type_uses_buffer_manager (options->session_type) || options->circular_buffer_size_in_mb > 0);
526526
EP_ASSERT (options->providers_len > 0 && options->providers != NULL);
527527

528528
EventPipeSession *session = NULL;

0 commit comments

Comments
 (0)