[webkit-changes] [WebKit/WebKit] 612cb5: [JSC] Include inliner information in SamplingProfi...

Yusuke Suzuki noreply at github.com
Wed Aug 9 16:31:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 612cb5600e538736063303056f4bdff35bcb8aa4
      https://github.com/WebKit/WebKit/commit/612cb5600e538736063303056f4bdff35bcb8aa4
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/SamplingProfiler.cpp
    M Tools/Scripts/display-sampling-profiler-output

  Log Message:
  -----------
  [JSC] Include inliner information in SamplingProfiler JSON dump
https://bugs.webkit.org/show_bug.cgi?id=259995
rdar://113655463

Reviewed by Justin Michaud.

C++ SamplingProfiler::reportTopBytecodes has a feature showing inliner of the hot bytecodes.
This patch,

1. extends JSON dump with inliner information for each frame.
2. dumps inliner information as the same way to C++ SamplingProfiler::reportTopBytecodes from ruby script.

* Source/JavaScriptCore/runtime/SamplingProfiler.cpp:
(JSC::SamplingProfiler::stackTracesAsJSON):
* Tools/Scripts/display-sampling-profiler-output:

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




More information about the webkit-changes mailing list