<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>282535</bug_id>
          
          <creation_ts>2024-11-04 05:55:26 -0800</creation_ts>
          <short_desc>[WPE][GTK][WTF] Add support for tracing counters with Sysprof</short_desc>
          <delta_ts>2025-04-02 02:59:10 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Georges Basile Stavracas Neto">feaneron</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>dpino</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2072481</commentid>
    <comment_count>0</comment_count>
    <who name="Georges Basile Stavracas Neto">feaneron</who>
    <bug_when>2024-11-04 05:55:26 -0800</bug_when>
    <thetext>This allows e.g. monitoring how many buffers are on flight, or the FPS over time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2072484</commentid>
    <comment_count>1</comment_count>
    <who name="Georges Basile Stavracas Neto">feaneron</who>
    <bug_when>2024-11-04 06:05:16 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/36123</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107849</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-01 10:58:41 -0700</bug_when>
    <thetext>Committed 293020@main (e812b451c525): &lt;https://commits.webkit.org/293020@main&gt;

Reviewed commits have been landed. Closing PR #36123 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108129</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2025-04-02 02:26:42 -0700</bug_when>
    <thetext>The patch caused a build error on Debian and Ubuntu post-commit bots:

https://build.webkit.org/#/builders/46/builds/49508

```
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Source/JavaScriptCore/wasm/js/WebAssemblyFunction.cpp:56,
                 from /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-15db4ad9-9.cpp:7:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/WTF/Headers/wtf/glib/SysprofAnnotator.h: In member function ‘void WTF::SysprofAnnotator::setCounter(std::span&lt;const char&gt;, int64_t)’:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/WTF/Headers/wtf/glib/SysprofAnnotator.h:265:13: error: ‘strlcpy’ was not declared in this scope; did you mean ‘strncpy’?
  265 |             strlcpy(counter.category, m_processName.characters(), sizeof counter.category);
      |             ^~~~~~~
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108130</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2025-04-02 02:33:24 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/43453</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108132</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-02 02:59:07 -0700</bug_when>
    <thetext>Committed 293090@main (37790f401c18): &lt;https://commits.webkit.org/293090@main&gt;

Reviewed commits have been landed. Closing PR #43453 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>