Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8a8757e0cd92a93e08d8b1da2e053ac574134db
      
https://github.com/WebKit/WebKit/commit/c8a8757e0cd92a93e08d8b1da2e053ac574134db
  Author: Ryan Reno <[email protected]>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M Source/WTF/wtf/SystemTracing.h
    M Source/WTF/wtf/glib/SysprofAnnotator.h
    M Source/WebCore/platform/ThreadTimers.cpp
    M Source/WebKit/Resources/Signposts/SystemTracePoints.plist

  Log Message:
  -----------
  Add trace points to ThreadTimers
https://bugs.webkit.org/show_bug.cgi?id=299550
rdar://161353511

Reviewed by Ben Nham.

Understanding how timers are scheduled or are being executed is very helpful
when investigating web site issues or understanding how the WebContent process
is being scheduled on cores. This change adds trace intervals for every 
ThreadTimer
wake-up and for the duration of every timer that is executed during that wake 
up.

No behavior change so no tests. Trace points are only active when the process is
actively being profiled by tracing tools (e.g. Instruments).

* Source/WTF/wtf/SystemTracing.h:
* Source/WTF/wtf/glib/SysprofAnnotator.h:
* Source/WebCore/platform/ThreadTimers.cpp:
(WebCore::ThreadTimers::sharedTimerFiredInternal):
* Source/WebKit/Resources/Signposts/SystemTracePoints.plist:

Canonical link: https://commits.webkit.org/300702@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