Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19d35e2391a85f5301411609158039bf8b444dd2
      
https://github.com/WebKit/WebKit/commit/19d35e2391a85f5301411609158039bf8b444dd2
  Author: Ben Nham <[email protected]>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M Source/WTF/wtf/SystemTracing.h
    M Source/WebKit/Platform/IPC/Connection.cpp
    M Source/WebKit/Platform/IPC/Connection.h
    M Source/WebKit/Platform/IPC/StreamClientConnection.h

  Log Message:
  -----------
  Add optional IPC signposts
https://bugs.webkit.org/show_bug.cgi?id=267959
rdar://problem/121472279

Reviewed by Chris Dumez.

When doing certain types of perf analysis it's useful to have a signpost 
interval appear around
every IPC message sent.

This adds an ENABLE_CORE_IPC_SIGNPOSTS macro (which is disabled by default) 
that places signposts
around every IPC message.

* Source/WTF/wtf/SystemTracing.h:
* Source/WebKit/Platform/IPC/Connection.cpp:
(IPC::Connection::generateSignpostIdentifier):
(IPC::Connection::sendMessage):
(IPC::Connection::sendMessageImpl):
(IPC::Connection::sendMessageWithAsyncReply):
(IPC::Connection::sendSyncReply):
(IPC::Connection::waitForMessage):
(IPC::Connection::sendSyncMessage):
* Source/WebKit/Platform/IPC/Connection.h:
* Source/WebKit/Platform/IPC/StreamClientConnection.h:
(IPC::StreamClientConnection::send):
(IPC::StreamClientConnection::sendWithAsyncReply):
(IPC::StreamClientConnection::sendSync):

Canonical link: https://commits.webkit.org/277340@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to