[webkit-changes] [WebKit/WebKit] 0cb4c5: [JSC] Use signpost macros instead of using os_sign...

Yusuke Suzuki noreply at github.com
Sat Feb 17 11:23:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0cb4c5d019178ab2ea86f27e3a774404a15c1026
      https://github.com/WebKit/WebKit/commit/0cb4c5d019178ab2ea86f27e3a774404a15c1026
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
    M Source/WTF/wtf/SystemTracing.h

  Log Message:
  -----------
  [JSC] Use signpost macros instead of using os_signpost directly
https://bugs.webkit.org/show_bug.cgi?id=269634
rdar://123132279

Reviewed by Michael Saboff and Justin Michaud.

Instead of using os_signpost macro directly, we should use WTFEmitSignpost.
To make it work with existing use, we add WTFEmitSignpostAlways variants, and use it in JSGlobalObject.
We also register JSCJSGlobalObject signpost category.

* Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WTF/wtf/SystemTracing.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list